|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
K - the type of keys maintained by the associated cacheV - the type of values maintained by the associated cachepublic interface CacheEntryUpdatedListener<K,V>
Invoked if an existing cache entry is updated,
for example through a Cache.put(Object, Object) operation.
It is not invoked by a Cache.remove(Object) operation.
CacheEntryCreatedListener| Method Summary | |
|---|---|
void |
onUpdate(Cache.Entry<K,V> entry)
Called after the entry has been updated (put into the cache where a previous mapping existed). |
void |
onUpdateAll(Iterable<Cache.Entry<K,V>> entries)
Called after the entries have been updated (put into the cache where a previous mapping existed). |
| Methods inherited from interface javax.cache.event.CacheEntryListener |
|---|
getNotificationScope |
| Method Detail |
|---|
void onUpdate(Cache.Entry<K,V> entry)
entry - The entry just updated.onUpdateAll(Iterable)void onUpdateAll(Iterable<Cache.Entry<K,V>> entries)
entries - The entries just updated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||