public final class InfinispanIndexOutput
extends org.apache.lucene.store.IndexOutput
DirectoryDirectory,
IndexInput| Constructor and Description |
|---|
InfinispanIndexOutput(AdvancedCache<?,?> metadataCache,
AdvancedCache<?,?> chunksCache,
FileCacheKey fileKey,
int bufferSize,
org.infinispan.lucene.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<?,?> metadataCache, AdvancedCache<?,?> chunksCache, FileCacheKey fileKey, int bufferSize, org.infinispan.lucene.FileListOperations fileList)
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()
flush in class org.apache.lucene.store.IndexOutputprotected 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
seek in class org.apache.lucene.store.IndexOutputIOExceptionpublic long length()
length in class org.apache.lucene.store.IndexOutputCopyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.