Interface CacheEntryCreatedListener<K,V>
- Type Parameters:
K- the type of keyV- the type of value
- All Superinterfaces:
CacheEntryListener<K,V>, EventListener
Invoked after a cache entry is created, or if a batch call is made, after the
entries are created.
If an entry for the key existed prior to the operation it is not invoked,
instead CacheEntryUpdatedListener is invoked.
- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidonCreated(Iterable<CacheEntryEvent<? extends K, ? extends V>> events) Called after one or more entries have been created.
-
Method Details
-
onCreated
void onCreated(Iterable<CacheEntryEvent<? extends K, ? extends V>> events) throws CacheEntryListenerException Called after one or more entries have been created.- Parameters:
events- The entries just created.- Throws:
CacheEntryListenerException- if there is problem executing the listener
-