|
||||||||||
| 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 CacheEntryCreatedListener<K,V>
Invoked if a cache entry is created,
for example through a Cache.put(Object, Object) operation.
If an entry for the key existed prior to the operation it is not invoked, as this ia an update.
CacheEntryUpdatedListener| Method Summary | |
|---|---|
void |
onCreate(Cache.Entry<K,V> entry)
Called after the entry has been created (put into the cache where no previous mapping existed). |
void |
onCreateAll(Iterable<Cache.Entry<K,V>> entries)
Called after the entries have been created (put into the cache where no previous mapping existed). |
| Methods inherited from interface javax.cache.event.CacheEntryListener |
|---|
getNotificationScope |
| Method Detail |
|---|
void onCreate(Cache.Entry<K,V> entry)
entry - The entry just added.onCreateAll(Iterable)void onCreateAll(Iterable<Cache.Entry<K,V>> entries)
entries - The entries just added.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||