Class JCacheEvictionListener<K,V>
java.lang.Object
com.github.benmanes.caffeine.jcache.event.JCacheEvictionListener<K,V>
- All Implemented Interfaces:
RemovalListener<K, Expirable<V>>
public final class JCacheEvictionListener<K,V>
extends Object
implements RemovalListener<K, Expirable<V>>
A listener that provides an adapter to publish events in the order of the actions being performed
on a key.
-
Constructor Summary
ConstructorsConstructorDescriptionJCacheEvictionListener(EventDispatcher<K, V> dispatcher, JCacheStatisticsMXBean statistics) -
Method Summary
-
Constructor Details
-
JCacheEvictionListener
-
-
Method Details
-
setCache
-
onRemoval
- Specified by:
onRemovalin interfaceRemovalListener<K,V>
-