Interface SegmentReader.ICoreDisposedListener
Called when the shared core for this SegmentReader is disposed.
This listener is called only once all SegmentReaders sharing the same core are disposed. At this point it is safe for apps to evict this reader from any caches keyed on CoreCacheKey. This is the same interface that IFieldCache uses, internally, to evict entries.
NOTE: This was CoreClosedListener in Lucene.
@lucene.experimental
Assembly: DistributedLucene.Net.dll
Syntax
public interface ICoreDisposedListener
Methods
Name | Description |
---|---|
OnDispose(Object) | Invoked when the shared core of the original SegmentReader has disposed. |