|
||||||||||
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)
or a CacheLoader
operation .
It is not invoked by a Cache.remove(Object)
operation.
CacheEntryCreatedListener
Method Summary | |
---|---|
void |
entriesUpdated(Iterable<CacheEntryEvent<? extends K,? extends V>> events)
Called after the entries have been updated (put into the cache where a previous mapping existed). |
void |
entryUpdated(CacheEntryEvent<? extends K,? extends V> event)
Called after the entry has been updated (put into the cache where a previous mapping existed). |
Method Detail |
---|
void entryUpdated(CacheEntryEvent<? extends K,? extends V> event)
event
- The event just updated.entriesUpdated(Iterable)
void entriesUpdated(Iterable<CacheEntryEvent<? extends K,? extends V>> events)
events
- The entries just updated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |