@VisibleForTesting public static class NativeIO.POSIX.NoMlockCacheManipulator extends NativeIO.POSIX.CacheManipulator
| Constructor | Description |
|---|---|
NoMlockCacheManipulator() |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getMemlockLimit() |
|
long |
getOperatingSystemPageSize() |
|
void |
mlock(java.lang.String identifier,
java.nio.ByteBuffer buffer,
long len) |
|
boolean |
verifyCanMlock() |
posixFadviseIfPossiblepublic void mlock(java.lang.String identifier,
java.nio.ByteBuffer buffer,
long len)
throws java.io.IOException
mlock in class NativeIO.POSIX.CacheManipulatorjava.io.IOExceptionpublic long getMemlockLimit()
getMemlockLimit in class NativeIO.POSIX.CacheManipulatorpublic long getOperatingSystemPageSize()
getOperatingSystemPageSize in class NativeIO.POSIX.CacheManipulatorpublic boolean verifyCanMlock()
verifyCanMlock in class NativeIO.POSIX.CacheManipulatorCopyright © 2008–2025 Apache Software Foundation. All rights reserved.