
public interface OCLibrary
extends com.sun.jna.Library
| Modifier and Type | Interface and Description |
|---|---|
static class |
OCLibrary.Rlimit |
| Modifier and Type | Field and Description |
|---|---|
static int |
RLIM_INFINITY
Denotes no limit on a resource.
|
static int |
RLIMIT_AS
Address space limit.
|
static int |
RLIMIT_MEMLOCK |
static int |
RLIMIT_NOFILE |
| Modifier and Type | Method and Description |
|---|---|
int |
close(int fd) |
int |
fallocate(int fd,
int mode,
long offset,
long len) |
int |
fsync(int fd) |
int |
getpagesize() |
long |
getpid() |
int |
getrlimit(int resource,
OCLibrary.Rlimit rlim) |
long |
lseek(int fd,
long offset,
int whence) |
int |
mlock(com.sun.jna.Pointer pointer,
long len) |
int |
mlockall(int flags) |
int |
munlock(com.sun.jna.Pointer pointer,
long len) |
int |
open(String path,
int flags,
int mode) |
int |
pathconf(String path,
int name) |
int |
posix_memalign(com.sun.jna.ptr.PointerByReference memptr,
com.sun.jna.NativeLong alignment,
com.sun.jna.NativeLong size) |
long |
read(int fd,
ByteBuffer buffer,
long count) |
long |
write(int fd,
ByteBuffer buffer,
long count) |
static final int RLIMIT_AS
static final int RLIMIT_MEMLOCK
static final int RLIMIT_NOFILE
static final int RLIM_INFINITY
long getpid()
int getrlimit(int resource,
OCLibrary.Rlimit rlim)
int open(String path, int flags, int mode) throws com.sun.jna.LastErrorException
com.sun.jna.LastErrorExceptionint fallocate(int fd,
int mode,
long offset,
long len)
throws com.sun.jna.LastErrorException
com.sun.jna.LastErrorExceptionlong write(int fd,
ByteBuffer buffer,
long count)
throws com.sun.jna.LastErrorException
com.sun.jna.LastErrorExceptionlong read(int fd,
ByteBuffer buffer,
long count)
throws com.sun.jna.LastErrorException
com.sun.jna.LastErrorExceptionint posix_memalign(com.sun.jna.ptr.PointerByReference memptr,
com.sun.jna.NativeLong alignment,
com.sun.jna.NativeLong size)
throws com.sun.jna.LastErrorException
com.sun.jna.LastErrorExceptionint fsync(int fd) throws com.sun.jna.LastErrorException
com.sun.jna.LastErrorExceptionint close(int fd) throws com.sun.jna.LastErrorException
com.sun.jna.LastErrorExceptionlong lseek(int fd,
long offset,
int whence)
throws com.sun.jna.LastErrorException
com.sun.jna.LastErrorExceptionint getpagesize()
throws com.sun.jna.LastErrorException
com.sun.jna.LastErrorExceptionint pathconf(String path, int name) throws com.sun.jna.LastErrorException
com.sun.jna.LastErrorExceptionint mlockall(int flags)
throws com.sun.jna.LastErrorException
com.sun.jna.LastErrorExceptionint mlock(com.sun.jna.Pointer pointer,
long len)
throws com.sun.jna.LastErrorException
com.sun.jna.LastErrorExceptionint munlock(com.sun.jna.Pointer pointer,
long len)
throws com.sun.jna.LastErrorException
com.sun.jna.LastErrorExceptionCopyright © 2009–2025 OrientDB. All rights reserved.