Package org.infinispan.functional.impl
Interface FunctionalNotifier<K,V>
- All Superinterfaces:
Listeners.ReadWriteListeners<K,,V> Listeners.WriteListeners<K,V>
- All Known Implementing Classes:
FunctionalNotifierImpl
Listener notifier.
- Since:
- 8.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.infinispan.functional.Listeners.ReadWriteListeners
Listeners.ReadWriteListeners.ReadWriteListener<K,V> Nested classes/interfaces inherited from interface org.infinispan.functional.Listeners.WriteListeners
Listeners.WriteListeners.WriteListener<K,V> -
Method Summary
Modifier and TypeMethodDescriptionvoidnotifyOnCreate(CacheEntry<K, V> entry) Notify registeredListeners.ReadWriteListeners.ReadWriteListenerinstances of the created entry.voidnotifyOnModify(CacheEntry<K, V> entry, V previousValue, Metadata previousMetadata) Notify registeredListeners.ReadWriteListeners.ReadWriteListenerinstances of the modified entry passing the previous and new value.voidnotifyOnRemove(EntryView.ReadEntryView<K, V> removed) Notify registeredListeners.ReadWriteListeners.ReadWriteListenerinstances of the removed entry passing in the removed entry.voidnotifyOnWrite(CacheEntry<K, V> entry) voidnotifyOnWriteRemove(K key) Notify registeredListeners.WriteListeners.WriteListenerinstances of the written entry.Methods inherited from interface org.infinispan.functional.Listeners.ReadWriteListeners
add, onCreate, onModify, onRemoveMethods inherited from interface org.infinispan.functional.Listeners.WriteListeners
add, onWrite
-
Method Details
-
notifyOnCreate
Notify registeredListeners.ReadWriteListeners.ReadWriteListenerinstances of the created entry. -
notifyOnModify
Notify registeredListeners.ReadWriteListeners.ReadWriteListenerinstances of the modified entry passing the previous and new value. -
notifyOnRemove
Notify registeredListeners.ReadWriteListeners.ReadWriteListenerinstances of the removed entry passing in the removed entry. -
notifyOnWriteRemove
Notify registeredListeners.WriteListeners.WriteListenerinstances of the written entry. -
notifyOnWrite
-