Interface MMapDirectory.MMapIndexInputProvider<A>

All Known Implementing Classes:
MappedByteBufferIndexInputProvider
Enclosing class:
MMapDirectory

static interface MMapDirectory.MMapIndexInputProvider<A>
  • Method Details

    • openInput

      IndexInput openInput(Path path, IOContext context, int chunkSizePower, boolean preload, Optional<String> group, A attachment) throws IOException
      Throws:
      IOException
    • getDefaultMaxChunkSize

      long getDefaultMaxChunkSize()
    • isUnmapSupported

      boolean isUnmapSupported()
    • getUnmapNotSupportedReason

      String getUnmapNotSupportedReason()
    • supportsMadvise

      boolean supportsMadvise()
    • attachment

      default A attachment()
      An optional attachment of the provider, that will be passed to openInput.
    • convertMapFailedIOException

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