public interface CacheExpiryListener<K,V>
Modifier and Type | Method and Description |
---|---|
void |
cacheExpired(CacheExpiryEvent<K,V> event)
This method is invoked when a cache has expired one or more elements.
|
void cacheExpired(CacheExpiryEvent<K,V> event)
Important: Delivery of this event is not asynchronous, so any delay in this method's return will impact the performance of the cache! Implementations should take care to process this event as quickly as possible.
event
- An object containing information about the event.