|
||||||||||
| 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.FilterIndexReader
org.apache.jackrabbit.core.query.lucene.RefCountingIndexReader
public class RefCountingIndexReader
RefCountingIndexReader...
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.lucene.index.FilterIndexReader |
|---|
org.apache.lucene.index.FilterIndexReader.FilterTermDocs, org.apache.lucene.index.FilterIndexReader.FilterTermEnum, org.apache.lucene.index.FilterIndexReader.FilterTermPositions |
| 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.FilterIndexReader |
|---|
in |
| Fields inherited from class org.apache.lucene.index.IndexReader |
|---|
hasChanges |
| Constructor Summary | |
|---|---|
RefCountingIndexReader(org.apache.lucene.index.IndexReader in)
|
|
| Method Summary | |
|---|---|
protected void |
doClose()
|
int |
getRefCount()
|
void |
release()
Releases this index reader and potentially frees resources. |
| Methods inherited from class org.apache.lucene.index.FilterIndexReader |
|---|
directory, docFreq, doCommit, document, doDelete, doSetNorm, doUndeleteAll, getDeletesCacheKey, getFieldCacheKey, getFieldNames, getSequentialSubReaders, getTermFreqVector, getTermFreqVector, getTermFreqVector, getTermFreqVectors, getVersion, hasDeletions, hasNorms, isCurrent, isDeleted, isOptimized, maxDoc, norms, norms, numDocs, termDocs, termDocs, termPositions, terms, terms |
| Methods inherited from class org.apache.lucene.index.IndexReader |
|---|
acquireWriteLock, clone, clone, close, commit, commit, decRef, deleteDocument, deleteDocuments, document, ensureOpen, flush, flush, getCommitUserData, getCommitUserData, getCurrentVersion, getIndexCommit, getTermInfosIndexDivisor, getUniqueTermCount, incRef, indexExists, lastModified, listCommits, main, numDeletedDocs, open, open, open, open, open, open, open, reopen, reopen, reopen, setNorm, setNorm, termPositions, undeleteAll |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RefCountingIndexReader(org.apache.lucene.index.IndexReader in)
| Method Detail |
|---|
public int getRefCount()
getRefCount in class org.apache.lucene.index.IndexReader
public final void release()
throws IOException
IndexReader.close() this method
does not necessarily close the index reader, but gives the implementation
the opportunity to do reference counting.
release in interface ReleaseableIndexReaderIOException - if an error occurs while releasing the index reader.
protected void doClose()
throws IOException
doClose in class org.apache.lucene.index.FilterIndexReaderIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||