public interface FunctionalNotifier<K,V>
extends org.infinispan.commons.api.functional.Listeners.ReadWriteListeners<K,V>
Modifier and Type | Method and Description |
---|---|
void |
notifyOnCreate(org.infinispan.commons.api.functional.EntryView.ReadEntryView<K,V> created)
Notify registered
ReadWriteListener instances of the created entry. |
void |
notifyOnModify(org.infinispan.commons.api.functional.EntryView.ReadEntryView<K,V> before,
org.infinispan.commons.api.functional.EntryView.ReadEntryView<K,V> after)
Notify registered
ReadWriteListener instances of the modified
entry passing the previous and new value. |
void |
notifyOnRemove(org.infinispan.commons.api.functional.EntryView.ReadEntryView<K,V> removed)
Notify registered
ReadWriteListener instances of the removed
entry passing in the removed entry. |
void |
notifyOnWrite(Supplier<org.infinispan.commons.api.functional.EntryView.ReadEntryView<K,V>> write)
Notify registered
WriteListener instances of the written entry. |
void notifyOnCreate(org.infinispan.commons.api.functional.EntryView.ReadEntryView<K,V> created)
ReadWriteListener
instances of the created entry.void notifyOnModify(org.infinispan.commons.api.functional.EntryView.ReadEntryView<K,V> before, org.infinispan.commons.api.functional.EntryView.ReadEntryView<K,V> after)
ReadWriteListener
instances of the modified
entry passing the previous and new value.void notifyOnRemove(org.infinispan.commons.api.functional.EntryView.ReadEntryView<K,V> removed)
ReadWriteListener
instances of the removed
entry passing in the removed entry.Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.