|
||||||||||
| 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 CacheEntryReadListener<K,V>
Invoked if a cache entry is read,
for example through a Cache.get(Object) call.
| Method Summary | |
|---|---|
void |
onRead(Cache.Entry<K,V> entry)
Called after the entry has been read. |
void |
onReadAll(Iterable<Cache.Entry<K,V>> entries)
Called after the entries have been read. |
| Methods inherited from interface javax.cache.event.CacheEntryListener |
|---|
getNotificationScope |
| Method Detail |
|---|
void onRead(Cache.Entry<K,V> entry)
entry - The entry just read.onReadAll(Iterable)void onReadAll(Iterable<Cache.Entry<K,V>> entries)
entries - The entry just read.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||