public static interface IndexReader.CacheHelper
| Modifier and Type | Method and Description |
|---|---|
void |
addClosedListener(IndexReader.ClosedListener listener)
Add a
IndexReader.ClosedListener which will be called when the resource
guarded by getKey() is closed. |
IndexReader.CacheKey |
getKey()
Get a key that the resource can be cached on.
|
IndexReader.CacheKey getKey()
Object.equals(java.lang.Object) is implemented as
== and Object.hashCode() is implemented as
System.identityHashCode(java.lang.Object).void addClosedListener(IndexReader.ClosedListener listener)
IndexReader.ClosedListener which will be called when the resource
guarded by getKey() is closed.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.