public class PersistentSubIndexerRetriever<SubIndexerType,SubIndexerVersion>
extends java.lang.Object
implements java.io.Closeable
Constructor and Description |
---|
PersistentSubIndexerRetriever(ID<?,?> id,
int indexVersion,
CompositeDataIndexer<?,?,SubIndexerType,SubIndexerVersion> indexer) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
close() |
void |
flush() |
int |
getFileIndexerId(IndexedFile file) |
boolean |
isIndexed(int fileId,
IndexedFile file) |
void |
setIndexedState(int fileId,
IndexedFile file) |
public PersistentSubIndexerRetriever(ID<?,?> id, int indexVersion, CompositeDataIndexer<?,?,SubIndexerType,SubIndexerVersion> indexer) throws java.io.IOException
java.io.IOException
public void clear() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
public void flush() throws java.io.IOException
java.io.IOException
public void setIndexedState(int fileId, IndexedFile file) throws java.io.IOException
java.io.IOException
public boolean isIndexed(int fileId, IndexedFile file) throws java.io.IOException
java.io.IOException
public int getFileIndexerId(IndexedFile file) throws java.io.IOException
java.io.IOException