Package javax.cache.event
Interface CacheEntryUpdatedListener<K,V>
- Type Parameters:
K
- the type of keyV
- the type of value
- All Superinterfaces:
CacheEntryListener<K,
,V> EventListener
Invoked if an existing cache entry is updated, or if a batch call is made,
after the entries are updated.
- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onUpdated
(Iterable<CacheEntryEvent<? extends K, ? extends V>> events) Called after one or more entries have been updated.
-
Method Details
-
onUpdated
void onUpdated(Iterable<CacheEntryEvent<? extends K, ? extends V>> events) throws CacheEntryListenerExceptionCalled after one or more entries have been updated.- Parameters:
events
- The entries just updated.- Throws:
CacheEntryListenerException
- if there is problem executing the listener
-