K- the type of key.
V- the type of value.
public interface EntryEvictedListener<K,V> extends MapListener
EntryEvictedListenertogether, 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.
|Modifier and Type||Method and Description|
Invoked upon eviction of an entry.
void entryEvicted(EntryEvent<K,V> event)
event- the event invoked when an entry is evicted
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.