K - the type of keys maintained by the associated cacheV - the type of values maintained by the associated cachepublic interface CacheEntryCreatedListener<K,V> extends CacheEntryListener<K,V>
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| Modifier and Type | Method and Description |
|---|---|
void |
entryCreated(CacheEntryEvent<? extends K,? extends V> event)
Called after the entry has been created (put into the cache where no previous mapping existed).
|
void entryCreated(CacheEntryEvent<? extends K,? extends V> event) throws CacheEntryListenerException
event - The entry just added.CacheEntryListenerException - if there is problem executing the listenerCopyright © 2018 WSO2 Inc. All rights reserved.