Package javax.cache.event
Interface CacheEntryUpdatedListener<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
public interface CacheEntryUpdatedListener<K,V> extends CacheEntryListener<K,V>
Invoked if an existing cache entry is updated, for example through aCache.put(Object, Object)or aCacheLoaderoperation .- Since:
- 1.0
- Author:
- Yannis Cosmadopoulos, Greg Luck
- See Also:
CacheEntryCreatedListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidentryUpdated(CacheEntryEvent<? extends K,? extends V> event)todo change this to have two args: the old value and the new value Called after the entry has been updated (put into the cache where a previous mapping existed).
-
-
-
Method Detail
-
entryUpdated
void entryUpdated(CacheEntryEvent<? extends K,? extends V> event) throws CacheEntryListenerException
todo change this to have two args: the old value and the new value Called after the entry has been updated (put into the cache where a previous mapping existed).- Parameters:
event- The event just updated.- Throws:
CacheEntryListenerException- if there is problem executing the listener
-
-