|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.index.IndexReader
org.apache.lucene.index.MultiReader
org.sakaiproject.search.journal.impl.RefCountMultiReader
public class RefCountMultiReader
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.lucene.index.IndexReader |
|---|
org.apache.lucene.index.IndexReader.FieldOption |
| Field Summary |
|---|
| Fields inherited from class org.apache.lucene.index.MultiReader |
|---|
subReaders |
| Fields inherited from class org.apache.lucene.index.IndexReader |
|---|
hasChanges |
| Constructor Summary | |
|---|---|
RefCountMultiReader(org.apache.lucene.index.IndexReader[] indexReaders,
JournaledFSIndexStorage storage)
|
|
| Method Summary | |
|---|---|
void |
addParent(Object searcher)
|
void |
bind(org.sakaiproject.thread_local.api.ThreadLocalManager tlm)
|
boolean |
canClose()
|
protected void |
doClose()
|
boolean |
doFinalClose()
|
boolean |
forceClose()
|
String |
getName()
|
static int |
getOpened()
|
boolean |
isCurrent()
The isCurrent method in 1.9.1 has a NPE bug, this fixes it |
void |
removeParent(Object searcher)
|
void |
unbind()
|
| Methods inherited from class org.apache.lucene.index.MultiReader |
|---|
clone, docFreq, doCommit, doCommit, document, doDelete, doReopen, doSetNorm, doUndeleteAll, getFieldNames, getSequentialSubReaders, getTermFreqVector, getTermFreqVector, getTermFreqVector, getTermFreqVectors, getVersion, hasDeletions, hasNorms, isDeleted, isOptimized, maxDoc, norms, norms, numDocs, reopen, termDocs, termPositions, terms, terms |
| Methods inherited from class org.apache.lucene.index.IndexReader |
|---|
acquireWriteLock, clone, close, commit, commit, decRef, deleteDocument, deleteDocuments, directory, document, ensureOpen, flush, flush, getCommitUserData, getCommitUserData, getCurrentVersion, getCurrentVersion, getCurrentVersion, getDeletesCacheKey, getDisableFakeNorms, getFieldCacheKey, getIndexCommit, getRefCount, getTermInfosIndexDivisor, getUniqueTermCount, incRef, indexExists, indexExists, indexExists, isLocked, isLocked, lastModified, lastModified, lastModified, listCommits, main, numDeletedDocs, open, open, open, open, open, open, open, open, open, open, open, open, open, open, reopen, reopen, setDisableFakeNorms, setNorm, setNorm, setTermInfosIndexDivisor, termDocs, termPositions, undeleteAll, unlock |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RefCountMultiReader(org.apache.lucene.index.IndexReader[] indexReaders,
JournaledFSIndexStorage storage)
throws IOException
arg0 - storage -
IOException| Method Detail |
|---|
protected void doClose()
throws IOException
doClose in class org.apache.lucene.index.MultiReaderIOExceptionpublic boolean doFinalClose()
doFinalClose in interface IndexCloserpublic boolean forceClose()
forceClose in interface IndexCloser
public boolean isCurrent()
throws IOException
isCurrent in class org.apache.lucene.index.MultiReaderIOExceptionIndexReader.isCurrent()public void unbind()
unbind in interface org.sakaiproject.thread_local.api.ThreadBoundpublic void bind(org.sakaiproject.thread_local.api.ThreadLocalManager tlm)
bind in interface ThreadBinderpublic boolean canClose()
canClose in interface IndexCloserpublic void addParent(Object searcher)
addParent in interface IndexCloserpublic void removeParent(Object searcher)
removeParent in interface IndexCloserpublic static int getOpened()
public String getName()
getName in interface IndexCloser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||