Module org.apache.lucene.core
Package org.apache.lucene.store
Interface MMapDirectory.MMapIndexInputProvider
- All Known Implementing Classes:
MappedByteBufferIndexInputProvider
- Enclosing class:
MMapDirectory
static interface MMapDirectory.MMapIndexInputProvider
-
Method Summary
Modifier and TypeMethodDescriptiondefault IOException
convertMapFailedIOException
(IOException ioe, String resourceDescription, long bufSize) long
boolean
boolean
-
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)
-