Package gw.util.concurrent
Interface Cache.ConcurrentLinkedHashMap.EvictionListener<K,V>
- Enclosing class:
- Cache.ConcurrentLinkedHashMap<K,
V>
public static interface Cache.ConcurrentLinkedHashMap.EvictionListener<K,V>
A listener registered for notification when an entry is evicted.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onEviction
(K key, V value) A call-back notification that the entry was evicted.
-
Method Details
-
onEviction
A call-back notification that the entry was evicted.- Parameters:
key
- The evicted key.value
- The evicted value.
-