Package org.apache.lucene.tests.index
Class OwnCacheKeyMultiReader
java.lang.Object
org.apache.lucene.index.IndexReader
org.apache.lucene.index.CompositeReader
org.apache.lucene.index.BaseCompositeReader<IndexReader>
org.apache.lucene.index.MultiReader
org.apache.lucene.tests.index.OwnCacheKeyMultiReader
- All Implemented Interfaces:
Closeable,AutoCloseable
A
MultiReader that has its own cache key, occasionally useful for testing purposes.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.index.IndexReader
IndexReader.CacheHelper, IndexReader.CacheKey, IndexReader.ClosedListener -
Field Summary
Fields inherited from class org.apache.lucene.index.BaseCompositeReader
subReadersSorter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidMethods inherited from class org.apache.lucene.index.MultiReader
doCloseMethods inherited from class org.apache.lucene.index.BaseCompositeReader
docFreq, getDocCount, getSequentialSubReaders, getSumDocFreq, getSumTotalTermFreq, maxDoc, numDocs, readerBase, readerIndex, storedFields, termVectors, totalTermFreqMethods inherited from class org.apache.lucene.index.CompositeReader
getContext, toStringMethods inherited from class org.apache.lucene.index.IndexReader
close, decRef, ensureOpen, equals, getRefCount, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, registerParentReader, tryIncRef
-
Constructor Details
-
OwnCacheKeyMultiReader
Sole constructor.- Throws:
IOException
-
-
Method Details
-
getReaderCacheHelper
- Overrides:
getReaderCacheHelperin classMultiReader
-
notifyReaderClosedListeners
- Overrides:
notifyReaderClosedListenersin classIndexReader- Throws:
IOException
-