public final 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) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
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)
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()
flush
in class org.apache.lucene.store.IndexOutput
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
seek
in class org.apache.lucene.store.IndexOutput
IOException
public long length()
length
in class org.apache.lucene.store.IndexOutput
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.