public static interface Listeners.WriteListeners.WriteListener<K,V>
|Modifier and Type||Method and Description|
Entry write event callback that receives a
void onWrite(EntryView.ReadEntryView<K,V> write)
EntryView.ReadEntryViewof the written entry.
For created or modified/updated events, the
EntryView.ReadEntryView passed in will represent the newly stored
entry, hence implementations will not be available to differentiate
between created events vs modified/updated events.
For removed events,
EntryView.ReadEntryView passed in will represent
an empty entry view, hence
EntryView.ReadEntryView.find() will return
Optional instance, and
EntryView.ReadEntryView.get() will throw
write- written entry view
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.