Interface MMapDirectory.MMapIndexInputProvider

All Known Implementing Classes:
MappedByteBufferIndexInputProvider
Enclosing class:
MMapDirectory

static interface MMapDirectory.MMapIndexInputProvider
  • Method Details

    • openInput

      IndexInput openInput(Path path, IOContext context, int chunkSizePower, boolean preload) throws IOException
      Throws:
      IOException
    • getDefaultMaxChunkSize

      long getDefaultMaxChunkSize()
    • isUnmapSupported

      boolean isUnmapSupported()
    • getUnmapNotSupportedReason

      String getUnmapNotSupportedReason()
    • supportsMadvise

      boolean supportsMadvise()
    • convertMapFailedIOException

      default IOException convertMapFailedIOException(IOException ioe, String resourceDescription, long bufSize)