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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.io.IOException
convertMapFailedIOException(java.io.IOException ioe, java.lang.String resourceDescription, long bufSize)
long
getDefaultMaxChunkSize()
java.lang.String
getUnmapNotSupportedReason()
boolean
isUnmapSupported()
IndexInput
openInput(java.nio.file.Path path, IOContext context, int chunkSizePower, boolean preload)
-
-
-
Method Detail
-
openInput
IndexInput openInput(java.nio.file.Path path, IOContext context, int chunkSizePower, boolean preload) throws java.io.IOException
- Throws:
java.io.IOException
-
getDefaultMaxChunkSize
long getDefaultMaxChunkSize()
-
isUnmapSupported
boolean isUnmapSupported()
-
getUnmapNotSupportedReason
java.lang.String getUnmapNotSupportedReason()
-
convertMapFailedIOException
default java.io.IOException convertMapFailedIOException(java.io.IOException ioe, java.lang.String resourceDescription, long bufSize)
-
-