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 TypeMethodDescriptionvoid
notifyOnCreate
(CacheEntry<K, V> entry) Notify registeredListeners.ReadWriteListeners.ReadWriteListener
instances of the created entry.void
notifyOnModify
(CacheEntry<K, V> entry, V previousValue, Metadata previousMetadata) Notify registeredListeners.ReadWriteListeners.ReadWriteListener
instances of the modified entry passing the previous and new value.void
notifyOnRemove
(EntryView.ReadEntryView<K, V> removed) Notify registeredListeners.ReadWriteListeners.ReadWriteListener
instances of the removed entry passing in the removed entry.void
notifyOnWrite
(CacheEntry<K, V> entry) void
notifyOnWriteRemove
(K key) Notify registeredListeners.WriteListeners.WriteListener
instances of the written entry.Methods inherited from interface org.infinispan.functional.Listeners.ReadWriteListeners
add, onCreate, onModify, onRemove
Methods inherited from interface org.infinispan.functional.Listeners.WriteListeners
add, onWrite
-
Method Details
-
notifyOnCreate
Notify registeredListeners.ReadWriteListeners.ReadWriteListener
instances of the created entry. -
notifyOnModify
Notify registeredListeners.ReadWriteListeners.ReadWriteListener
instances of the modified entry passing the previous and new value. -
notifyOnRemove
Notify registeredListeners.ReadWriteListeners.ReadWriteListener
instances of the removed entry passing in the removed entry. -
notifyOnWriteRemove
Notify registeredListeners.WriteListeners.WriteListener
instances of the written entry. -
notifyOnWrite
-