Package com.hazelcast.map.listener
Interface EntryExpiredListener<K,V>
- Type Parameters:
K- the type of key.V- the type of value.
- All Superinterfaces:
EventListener,MapListener
- All Known Subinterfaces:
EntryListener<K,V>
- All Known Implementing Classes:
ConsoleApp,EntryAdapter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Invoked upon expiration-based removal of an entry.
Expiration-based entry removals can happen in two different ways:
- time-to-live-seconds based expiration
- max-idle-time based expiration
- Since:
- 3.6
-
Method Summary
Modifier and TypeMethodDescriptionvoidentryExpired(EntryEvent<K, V> event) Invoked upon expiration of an entry.
-
Method Details
-
entryExpired
Invoked upon expiration of an entry.- Parameters:
event- the event invoked when an entry is expired.
-