Interface Listeners.ReadWriteListeners<K,​V>

  • All Superinterfaces:
    Listeners.WriteListeners<K,​V>
    Enclosing class:
    Listeners

    @Experimental
    public static interface Listeners.ReadWriteListeners<K,​V>
    extends Listeners.WriteListeners<K,​V>
    Read-write listeners enable users to register listeners for cache entry created, modified and removed events, and also register listeners for any cache entry write events.

    Entry created, modified and removed events can only be fired when these originate on a read-write functional map, since this is the only one that guarantees that the previous value has been read, and hence the differentiation between create, modified and removed can be fully guaranteed.

    Since:
    8.0