|
||||||||||
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 or the action of a CacheLoader
.
If an entry for the key existed prior to the operation it is not invoked, as this ia an update.
CacheEntryUpdatedListener
Method Summary | |
---|---|
void |
entriesCreated(Iterable<CacheEntryEvent<? extends K,? extends V>> events)
Called after the entries have been created (put into the cache where no previous mapping existed). |
void |
entryCreated(CacheEntryEvent<? extends K,? extends V> event)
Called after the entry has been created (put into the cache where no previous mapping existed). |
Method Detail |
---|
void entryCreated(CacheEntryEvent<? extends K,? extends V> event)
event
- The entry just added.entriesCreated(Iterable)
void entriesCreated(Iterable<CacheEntryEvent<? extends K,? extends V>> events)
events
- The entries just added.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |