org.apache.lucene.index.IndexReader.ReaderFinishedListener |
A custom listener that's invoked when the IndexReader is finished.
For a SegmentReader, this listener is called only
once all SegmentReaders sharing the same core are
closed. At this point it is safe for apps to evict
this reader from any caches keyed on getCoreCacheKey()
. This is the same interface that
FieldCache
uses, internally, to evict
entries.
For other readers, this listener is called when they are closed.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|