Package javax.cache.event
Interface CacheEntryRemovedListener<K,V>
- Type Parameters:
K- the type of keys maintained by the associated cacheV- the type of values maintained by the associated cache
- All Superinterfaces:
CacheEntryListener<K,,V> EventListener
- All Known Implementing Classes:
ClusterCacheInvalidationRequestSender
Invoked if a cache entry is removed,
for example through a
Cache.remove(Object) call.- Since:
- 1.0
- Author:
- Yannis Cosmadopoulos, Greg Luck
-
Method Summary
Modifier and TypeMethodDescriptionvoidentryRemoved(CacheEntryEvent<? extends K, ? extends V> event) Called after the entry has been removed.
-
Method Details
-
entryRemoved
void entryRemoved(CacheEntryEvent<? extends K, ? extends V> event) throws CacheEntryListenerExceptionCalled after the entry has been removed. If no entry existed for key the event is not called.- Parameters:
event- The entry just removed.- Throws:
CacheEntryListenerException- if there is problem executing the listener- See Also:
-