K
- the type of keyV
- the type of valueCacheEntryListener<K,V>
, EventListener
public interface CacheEntryCreatedListener<K,V> extends CacheEntryListener<K,V>
If an entry for the key existed prior to the operation it is not invoked,
instead CacheEntryUpdatedListener
is invoked.
CacheEntryUpdatedListener
Modifier and Type | Method | Description |
---|---|---|
void |
onCreated(Iterable<CacheEntryEvent<? extends K,? extends V>> events) |
Called after one or more entries have been created.
|
void onCreated(Iterable<CacheEntryEvent<? extends K,? extends V>> events) throws CacheEntryListenerException
events
- The entries just created.CacheEntryListenerException
- if there is problem executing the listenerCopyright © 2017. All rights reserved.