K
- the type of key.V
- the type of value.public interface EntryEvictedListener<K,V> extends MapListener
EntryExpiredListener
and EntryEvictedListener
together,
there is a probability that the listener may receive both expiration and eviction events for the same entry. This is because,
size-based-eviction removes entries regardless of whether entries expired or not.EntryExpiredListener
Modifier and Type | Method and Description |
---|---|
void |
entryEvicted(EntryEvent<K,V> event)
Invoked upon eviction of an entry.
|
void entryEvicted(EntryEvent<K,V> event)
event
- the event invoked when an entry is evictedCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.