K- the type of key.
V- the type of value.
public interface EntryExpiredListener<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 expiration of an entry.
void entryExpired(EntryEvent<K,V> event)
event- the event invoked when an entry is expired.
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.