Module org.apache.lucene.core
Package org.apache.lucene.store
Interface MMapDirectory.MMapIndexInputProvider<A>
- All Known Implementing Classes:
MappedByteBufferIndexInputProvider
- Enclosing class:
MMapDirectory
static interface MMapDirectory.MMapIndexInputProvider<A>
-
Method Summary
Modifier and TypeMethodDescriptiondefault A
An optional attachment of the provider, that will be passed to openInput.default IOException
convertMapFailedIOException
(IOException ioe, String resourceDescription, long bufSize) long
boolean
openInput
(Path path, IOContext context, int chunkSizePower, boolean preload, Optional<String> group, A attachment) boolean
-
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
An optional attachment of the provider, that will be passed to openInput. -
convertMapFailedIOException
default IOException convertMapFailedIOException(IOException ioe, String resourceDescription, long bufSize)
-