Example usage for Java org.apache.lucene.store MMapDirectory fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | UNMAP_SUPPORTEDtrue , if this platform supports unmapping mmapped files. |
MMapDirectory(Path path) Create a new MMapDirectory for the named location and FSLockFactory#getDefault() . | |
MMapDirectory(Path path, LockFactory lockFactory) Create a new MMapDirectory for the named location. | |
MMapDirectory(Path path, int maxChunkSize) Create a new MMapDirectory for the named location and FSLockFactory#getDefault() . | |
MMapDirectory(Path path, LockFactory lockFactory, int maxChunkSize) Create a new MMapDirectory for the named location, specifying the maximum chunk size used for memory mapping. |
String[] | listAll() |
void | setUseUnmap(final boolean useUnmapHack) This method enables the workaround for unmapping the buffers from address space after closing IndexInput , that is mentioned in the bug report. |