Class MemoryMappedIndex

  • All Implemented Interfaces:
    Serializable

    public class MemoryMappedIndex
    extends BitStreamIndex
    A local memory-mapped bitstream index.

    Memory-mapped indices are created by mapping the index file into memory using a MappedByteBuffer. The main advantage over an InMemoryIndex is that only the most frequently used parts of the index will be loaded in core memory.

    Since:
    1.2
    Author:
    Sebastiano Vigna
    See Also:
    Serialized Form