public static interface Listeners.ReadWriteListeners.ReadWriteListener<K,V>
Modifier and Type | Method and Description |
---|---|
default void |
onCreate(EntryView.ReadEntryView<K,V> created)
Entry created event callback that receives a
EntryView.ReadEntryView
of the created entry. |
default void |
onModify(EntryView.ReadEntryView<K,V> before,
EntryView.ReadEntryView<K,V> after)
Entry modify/update event callback that receives
EntryView.ReadEntryView
of the previous entry as first parameter, and the EntryView.ReadEntryView
of the new entry. |
default void |
onRemove(EntryView.ReadEntryView<K,V> removed)
Entry removed event callback that receives a
EntryView.ReadEntryView
of the removed entry. |
default void onCreate(EntryView.ReadEntryView<K,V> created)
EntryView.ReadEntryView
of the created entry.created
- created entry viewdefault void onModify(EntryView.ReadEntryView<K,V> before, EntryView.ReadEntryView<K,V> after)
EntryView.ReadEntryView
of the previous entry as first parameter, and the EntryView.ReadEntryView
of the new entry.before
- previous entry viewafter
- new entry viewdefault void onRemove(EntryView.ReadEntryView<K,V> removed)
EntryView.ReadEntryView
of the removed entry.removed
- removed entry viewCopyright © 2021 JBoss by Red Hat. All rights reserved.