- Type Parameters:
K- the type of key.
V- the type of value.
- All Known Subinterfaces:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface EntryExpiredListener<K,V> extends MapListener
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
Invoked upon expiration of an entry.
event- the event invoked when an entry is expired.