public interface MemoryLockerLinux
extends com.sun.jna.Library
| Modifier and Type | Field and Description |
|---|---|
static int |
EAGAIN |
static int |
EINVAL |
static int |
ENOMEM |
static int |
ENOSYS |
static int |
EPERM |
static MemoryLockerLinux |
INSTANCE |
static int |
LOCK_ALL_MEMORY_DURING_APPLICATION_LIFE |
static int |
LOCK_CURRENT_MEMORY |
| Modifier and Type | Method and Description |
|---|---|
int |
mlockall(int flags)
This method locks all memory under *nix operating system using kernel function
mlockall. details of this function you
can find on http://www.kernel.org/doc/man-pages/online/pages/man2/mlock.2.html |
static final int EPERM
static final int EAGAIN
static final int ENOMEM
static final int EINVAL
static final int ENOSYS
static final int LOCK_CURRENT_MEMORY
static final int LOCK_ALL_MEMORY_DURING_APPLICATION_LIFE
static final MemoryLockerLinux INSTANCE
int mlockall(int flags)
mlockall. details of this function you
can find on http://www.kernel.org/doc/man-pages/online/pages/man2/mlock.2.htmlflags - determines lock memory on startup or during life of application.Copyright © 2009-2014 Orient Technologies. All Rights Reserved.