public abstract class AbstractLuceneIndex extends AbstractSearchIndex
Modifier and Type | Field and Description |
---|---|
protected Collection<AbstractReaderMonitor> |
oldmonitors
keep a lit of old monitors that are still iterating but not closed (open
iterators), will be all closed on shutdown items are removed from list by
ReaderMnitor.endReading() when closing
|
maxDocs
Constructor and Description |
---|
AbstractLuceneIndex() |
Modifier and Type | Method and Description |
---|---|
void |
beginReading() |
void |
endReading() |
protected abstract AbstractReaderMonitor |
getCurrentMonitor() |
Collection<AbstractReaderMonitor> |
getOldMonitors() |
accept, addDocument, addDocuments, addRemoveStatements, addStatement, copyDocument, deleteDocument, evaluate, getDocument, getDocuments, getResource, initialize, newBulkUpdate, newDocument, parseQuery, removeStatement, updateDocument
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
begin, clear, clearContexts, commit, rollback, shutDown
protected final Collection<AbstractReaderMonitor> oldmonitors
protected abstract AbstractReaderMonitor getCurrentMonitor()
public void beginReading()
public void endReading() throws IOException
IOException
public Collection<AbstractReaderMonitor> getOldMonitors()
Copyright © 2001-2016 Aduna. All Rights Reserved.