public class InfinispanIndexOutput
extends org.apache.lucene.store.IndexOutput
DirectoryDirectory,
IndexInput| Constructor and Description |
|---|
InfinispanIndexOutput(AdvancedCache<FileCacheKey,FileMetadata> metadataCache,
AdvancedCache<ChunkCacheKey,Object> chunksCache,
FileCacheKey fileKey,
int bufferSize,
FileListOperations fileList,
int affinitySegmentId) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
long |
getChecksum() |
long |
getFilePointer() |
long |
length() |
void |
seek(long pos) |
protected void |
storeCurrentBuffer(boolean isClose) |
void |
writeByte(byte b) |
void |
writeBytes(byte[] b,
int offset,
int length) |
public InfinispanIndexOutput(AdvancedCache<FileCacheKey,FileMetadata> metadataCache, AdvancedCache<ChunkCacheKey,Object> chunksCache, FileCacheKey fileKey, int bufferSize, FileListOperations fileList, int affinitySegmentId)
public final void writeByte(byte b)
writeByte in class org.apache.lucene.store.DataOutputpublic final void writeBytes(byte[] b,
int offset,
int length)
writeBytes in class org.apache.lucene.store.DataOutputpublic void flush()
protected void storeCurrentBuffer(boolean isClose)
public void close()
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.lucene.store.IndexOutputpublic long getFilePointer()
getFilePointer in class org.apache.lucene.store.IndexOutputpublic void seek(long pos)
throws IOException
IOExceptionpublic long length()
public long getChecksum()
throws IOException
getChecksum in class org.apache.lucene.store.IndexOutputIOExceptionCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.