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