public interface CacheEntryCreatedListener<K,V> extends CacheEntryOperationListener<K,V>A new entry is inserted into the cache, e.g. by
Cache.put(Object, Object)or by read through and the
- Jens Wilke
onEntryCreatedCalled for the creation of a cache entry and after all cache writers ran successfully. A synchronous event is executed before the entry becomes visible for cache clients. If an inserted or loaded value expires immediately, no created event is sent.
Exceptions thrown by asynchronous listeners will be propagated to the cache client directly.
cache- Reference to the cache that generated the event.
entry- Entry containing the current data. It is only valid to access the object during the call of this method. The object value may become invalid afterwards.