@Experimental public interface FunctionalNotifier<K,V> extends Listeners.ReadWriteListeners<K,V>
Listeners.ReadWriteListeners.ReadWriteListener<K,V>
Listeners.WriteListeners.WriteListener<K,V>
Modifier and Type | Method and Description |
---|---|
void |
notifyOnCreate(CacheEntry<K,V> entry)
Notify registered
ReadWriteListener instances of the created entry. |
void |
notifyOnModify(CacheEntry<K,V> entry,
V previousValue,
Metadata previousMetadata)
Notify registered
ReadWriteListener instances of the modified
entry passing the previous and new value. |
void |
notifyOnRemove(EntryView.ReadEntryView<K,V> removed)
Notify registered
ReadWriteListener instances of the removed
entry passing in the removed entry. |
void |
notifyOnWrite(CacheEntry<K,V> entry) |
void |
notifyOnWriteRemove(K key)
Notify registered
WriteListener instances of the written entry. |
add, onCreate, onModify, onRemove
add, onWrite
void notifyOnCreate(CacheEntry<K,V> entry)
ReadWriteListener
instances of the created entry.void notifyOnModify(CacheEntry<K,V> entry, V previousValue, Metadata previousMetadata)
ReadWriteListener
instances of the modified
entry passing the previous and new value.void notifyOnRemove(EntryView.ReadEntryView<K,V> removed)
ReadWriteListener
instances of the removed
entry passing in the removed entry.void notifyOnWriteRemove(K key)
WriteListener
instances of the written entry.void notifyOnWrite(CacheEntry<K,V> entry)
Copyright © 2021 JBoss by Red Hat. All rights reserved.