Package | Description |
---|---|
org.apache.lucene.store |
Binary i/o API, used for all index data.
|
Modifier and Type | Field and Description |
---|---|
private ByteBufferGuard.BufferCleaner |
ByteBufferGuard.cleaner |
private static ByteBufferGuard.BufferCleaner |
MMapDirectory.CLEANER
Reference to a BufferCleaner that does unmapping;
null if not supported. |
Modifier and Type | Method and Description |
---|---|
private static ByteBufferGuard.BufferCleaner |
MMapDirectory.newBufferCleaner(java.lang.Class<?> unmappableBufferClass,
java.lang.invoke.MethodHandle unmapper) |
Constructor and Description |
---|
ByteBufferGuard(java.lang.String resourceDescription,
ByteBufferGuard.BufferCleaner cleaner)
Creates an instance to be used for a single
ByteBufferIndexInput which
must be shared by all of its clones. |