Package com.adaptris.core.cache
Interface CacheEventListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
CacheEventLogger
Interface for EventListeners on the cache. Implementations of this interface may be registered to listen for occurrences on the
cache, such as items being evicted, etc.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
itemEvicted
(String key, Object value) Notification that the provided key / value was evicted from the cachevoid
itemExpired
(String key, Object value) Notification that the provided key / value has expired from the cachevoid
Notification that the provided key / value was put into the cachevoid
itemRemoved
(String key, Object value) Notification that the provided key / value was removed from the cachevoid
itemUpdated
(String key, Object value) Notification that the provided key / value was updated in the cache
-
Method Details
-
itemEvicted
Notification that the provided key / value was evicted from the cache -
itemExpired
Notification that the provided key / value has expired from the cache -
itemPut
Notification that the provided key / value was put into the cache -
itemRemoved
Notification that the provided key / value was removed from the cache -
itemUpdated
Notification that the provided key / value was updated in the cache
-