public interface EvictionListener<K,V>
Modifier and Type | Method and Description |
---|---|
void |
onEntryActivated(Object key)
Called back when an entry has been activated
|
void |
onEntryChosenForEviction(Map.Entry<K,V> entry)
Called back before an entry is evicted
|
void |
onEntryEviction(Map<K,V> evicted)
Called back after entries have been evicted
|
void |
onEntryRemoved(Map.Entry<K,V> entry)
Called when an entry is specifically removed from the container.
|
void onEntryEviction(Map<K,V> evicted)
evicted
- void onEntryChosenForEviction(Map.Entry<K,V> entry)
entry
- void onEntryActivated(Object key)
key
- Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.