Package org.infinispan.commons.util
Interface EvictionListener<K,V>
-
@Deprecated public interface EvictionListener<K,V>
Deprecated.since 10.0 - This class is not used internally anymoreEviction listener that is notified when entries are evicted from the underlying container due to the given eviction policy.- Since:
- 9.0
- Author:
- wburns
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
onEntryActivated(Object key)
Deprecated.Called back when an entry has been activatedvoid
onEntryChosenForEviction(Map.Entry<K,V> entry)
Deprecated.Called back before an entry is evictedvoid
onEntryEviction(Map<K,V> evicted)
Deprecated.Called back after entries have been evictedvoid
onEntryRemoved(Map.Entry<K,V> entry)
Deprecated.Called when an entry is specifically removed from the container.
-
-
-
Method Detail
-
onEntryEviction
void onEntryEviction(Map<K,V> evicted)
Deprecated.Called back after entries have been evicted- Parameters:
evicted
-
-
onEntryChosenForEviction
void onEntryChosenForEviction(Map.Entry<K,V> entry)
Deprecated.Called back before an entry is evicted- Parameters:
entry
-
-
onEntryActivated
void onEntryActivated(Object key)
Deprecated.Called back when an entry has been activated- Parameters:
key
-
-
-