Interface Cache.EvictionListener
public static interface Cache.EvictionListener
Interface for listening to cache eviction events.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when a key is evicted from the cache.voidCalled when a value is evicted from the cache.
-
Method Details
-
onKeyEviction
void onKeyEviction()Called when a key is evicted from the cache. -
onValueEviction
void onValueEviction()Called when a value is evicted from the cache.
-