Java org.apache.lucene.store MMapDirectory fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.store MMapDirectory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.store MMapDirectory.

The text is from its open source code.

Subclass

org.apache.lucene.store.MMapDirectory has subclasses.
Click this link to see all its subclasses.

Field

booleanUNMAP_SUPPORTED
true, if this platform supports unmapping mmapped files.

Constructor

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.

Method

String[]listAll()
voidsetUseUnmap(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.