public interface EvictionListener<K,V>
| Modifier and Type | Method and Description |
|---|---|
void |
onEntryActivated(java.lang.Object key)
Called back when an entry has been activated
|
void |
onEntryChosenForEviction(java.util.Map.Entry<K,V> entry)
Called back before an entry is evicted
|
void |
onEntryEviction(java.util.Map<K,V> evicted)
Called back after entries have been evicted
|
void |
onEntryRemoved(java.util.Map.Entry<K,V> entry)
Called when an entry is specifically removed from the container.
|
void onEntryEviction(java.util.Map<K,V> evicted)
evicted - void onEntryChosenForEviction(java.util.Map.Entry<K,V> entry)
entry - void onEntryActivated(java.lang.Object key)
key -