private final class ByteBuffersDirectory.FileEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private long |
cachedLength |
private IndexInput |
content |
private java.lang.String |
fileName |
Constructor and Description |
---|
FileEntry(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
(package private) IndexOutput |
createOutput(java.util.function.BiFunction<java.lang.String,ByteBuffersDataOutput,IndexInput> outputToInput) |
long |
length() |
IndexInput |
openInput() |
private final java.lang.String fileName
private volatile IndexInput content
private volatile long cachedLength
public long length()
public IndexInput openInput() throws java.io.IOException
java.io.IOException
final IndexOutput createOutput(java.util.function.BiFunction<java.lang.String,ByteBuffersDataOutput,IndexInput> outputToInput) throws java.io.IOException
java.io.IOException