Interface CacheEntryCreatedListener<K,V>

Type Parameters:
K - the type of key
V - the type of value
All Superinterfaces:
CacheEntryListener<K,V>, EventListener

public interface CacheEntryCreatedListener<K,V> extends CacheEntryListener<K,V>
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 Type
    Method
    Description
    void
    onCreated(Iterable<CacheEntryEvent<? extends K,? extends V>> events)
    Called after one or more entries have been created.