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