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
    Author:
    Yannis Cosmadopoulos, Greg Luck
    See Also:
    CacheEntryUpdatedListener