public class InfinispanIndexOutput
extends org.apache.lucene.store.IndexOutput
Directory
Directory
,
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.DataOutput
public final void writeBytes(byte[] b, int offset, int length)
writeBytes
in class org.apache.lucene.store.DataOutput
public void flush()
protected void storeCurrentBuffer(boolean isClose)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class org.apache.lucene.store.IndexOutput
public long getFilePointer()
getFilePointer
in class org.apache.lucene.store.IndexOutput
public void seek(long pos) throws IOException
IOException
public long length()
public long getChecksum() throws IOException
getChecksum
in class org.apache.lucene.store.IndexOutput
IOException
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.