|
||||||||||
| 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()
|
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, getFieldNames, getTermFreqVector, getTermFreqVector, getTermFreqVector, getTermFreqVectors, getVersion, hasDeletions, hasNorms, isCurrent, isDeleted, isOptimized, maxDoc, norms, norms, numDocs, termDocs, termPositions, terms, terms |
| Methods inherited from class org.apache.lucene.index.IndexReader |
|---|
acquireWriteLock, close, commit, decRef, deleteDocument, deleteDocuments, document, ensureOpen, flush, getCurrentVersion, getCurrentVersion, getCurrentVersion, getIndexCommit, getTermInfosIndexDivisor, incRef, indexExists, indexExists, indexExists, isLocked, isLocked, lastModified, lastModified, lastModified, listCommits, main, numDeletedDocs, open, open, open, open, open, open, open, open, open, reopen, setNorm, setNorm, setTermInfosIndexDivisor, termDocs, termPositions, undeleteAll, unlock |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RefCountingIndexReader(org.apache.lucene.index.IndexReader in)
| Method Detail |
|---|
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 | |||||||||