public static interface MemoryCache.CacheListener
| Modifier and Type | Method and Description |
|---|---|
void |
entryRemoved(java.lang.Object key,
java.lang.Object clientObject)
Called just after an entry has been removed from the cache.
|
void |
removalException(java.lang.Throwable exception,
java.lang.Object key,
java.lang.Object clientObject)
Called when an exception occurs within the
entryRemoved(Object, Object) call. |
void entryRemoved(java.lang.Object key,
java.lang.Object clientObject)
key - the entry's cache key.clientObject - the cached object.void removalException(java.lang.Throwable exception,
java.lang.Object key,
java.lang.Object clientObject)
entryRemoved(Object, Object) call.exception - the exception that occurred.key - the entry's cache key.clientObject - the cached object.