public final class Mem extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
IS_SUPPORTED |
static int |
MAP_ANONYMOUS |
static int |
MAP_FIXED |
static int |
MAP_GROWSDOWN |
static int |
MAP_HUGETLB |
static int |
MAP_LOCKED |
static int |
MAP_NONBLOCK |
static int |
MAP_NORESERVE |
static int |
MAP_POPULATE |
static int |
MAP_PRIVATE |
static int |
MAP_SHARED |
static int |
MAP_STACK |
static int |
MCL_CURRENT |
static int |
MCL_FUTURE |
static int |
MREMAP_FIXED |
static int |
MREMAP_MAYMOVE |
static int |
MS_ASYNC |
static int |
MS_INVALIDATE |
static int |
MS_SYNC |
static int |
POSIX_FADV_DONTNEED |
static int |
POSIX_FADV_NOREUSE |
static int |
POSIX_FADV_NORMAL |
static int |
POSIX_FADV_RANDOM |
static int |
POSIX_FADV_SEQUENTIAL |
static int |
POSIX_FADV_WILLNEED |
static int |
POSIX_MADV_DONTNEED |
static int |
POSIX_MADV_NORMAL |
static int |
POSIX_MADV_RANDOM |
static int |
POSIX_MADV_SEQUENTIAL |
static int |
POSIX_MADV_WILLNEED |
static int |
PROT_EXEC |
static int |
PROT_NONE |
static int |
PROT_READ |
static int |
PROT_WRITE |
| Constructor and Description |
|---|
Mem() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getFD(FileDescriptor fd) |
static int |
mlock(long addr,
long len) |
static int |
mlockall(int flags) |
static long |
mmap(long addr,
long length,
int prot,
int flags,
FileDescriptor fd,
long offset) |
static long |
mmap(long addr,
long length,
int prot,
int flags,
int fd,
long offset) |
static int |
mprotect(long addr,
long len,
int prot) |
static long |
mremap(long oldAddress,
long oldSize,
long newSize,
int flags) |
static int |
msync(long start,
long length,
int flags) |
static int |
munlock(long addr,
long len) |
static int |
munlockall() |
static int |
munmap(long addr,
long length) |
static int |
posix_fadvise(FileDescriptor fd,
long offset,
long len,
int advice) |
static int |
posix_fadvise(int fd,
long offset,
long len,
int advice) |
static int |
posix_madvise(long addr,
long len,
int advice) |
static void |
setFD(FileDescriptor fd,
int val) |
public static final boolean IS_SUPPORTED
public static final int PROT_NONE
public static final int PROT_READ
public static final int PROT_WRITE
public static final int PROT_EXEC
public static final int MAP_SHARED
public static final int MAP_PRIVATE
public static final int MAP_FIXED
public static final int MAP_ANONYMOUS
public static final int MAP_GROWSDOWN
public static final int MAP_LOCKED
public static final int MAP_NORESERVE
public static final int MAP_POPULATE
public static final int MAP_NONBLOCK
public static final int MAP_STACK
public static final int MAP_HUGETLB
public static final int MREMAP_MAYMOVE
public static final int MREMAP_FIXED
public static final int MS_ASYNC
public static final int MS_INVALIDATE
public static final int MS_SYNC
public static final int MCL_CURRENT
public static final int MCL_FUTURE
public static final int POSIX_MADV_NORMAL
public static final int POSIX_MADV_RANDOM
public static final int POSIX_MADV_SEQUENTIAL
public static final int POSIX_MADV_WILLNEED
public static final int POSIX_MADV_DONTNEED
public static final int POSIX_FADV_NORMAL
public static final int POSIX_FADV_RANDOM
public static final int POSIX_FADV_SEQUENTIAL
public static final int POSIX_FADV_WILLNEED
public static final int POSIX_FADV_DONTNEED
public static final int POSIX_FADV_NOREUSE
public static long mmap(long addr,
long length,
int prot,
int flags,
int fd,
long offset)
public static long mremap(long oldAddress,
long oldSize,
long newSize,
int flags)
public static int munmap(long addr,
long length)
public static int mprotect(long addr,
long len,
int prot)
public static long mmap(long addr,
long length,
int prot,
int flags,
FileDescriptor fd,
long offset)
public static int msync(long start,
long length,
int flags)
public static int mlock(long addr,
long len)
public static int munlock(long addr,
long len)
public static int mlockall(int flags)
public static int munlockall()
public static int posix_madvise(long addr,
long len,
int advice)
public static int posix_fadvise(int fd,
long offset,
long len,
int advice)
public static int posix_fadvise(FileDescriptor fd, long offset, long len, int advice)
public static int getFD(FileDescriptor fd)
public static void setFD(FileDescriptor fd, int val)
Copyright © 2019. All rights reserved.