K
- the type of key.V
- the type of value.public interface EntryExpiredListener<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.EntryEvictedListener
Modifier and Type | Method and Description |
---|---|
void |
entryExpired(EntryEvent<K,V> event)
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.