Module org.apache.lucene.core
Package org.apache.lucene.store
Interface MMapDirectory.MMapIndexInputProvider<A>
- 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
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() -
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)
-