K
- the entry key typeV
- the entry value typepublic interface EventJournalMapEvent<K,V>
Modifier and Type | Method and Description |
---|---|
K |
getKey()
Returns the key for the event entry.
|
V |
getNewValue()
Returns the new value for the event entry.
|
V |
getOldValue()
Returns the old value for the event entry.
|
EntryEventType |
getType()
Returns the event type.
|
K getKey()
V getNewValue()
null
while in other cases it may be non-null
. For instance,
when the event is of type EntryEventType.ADDED
, the new
value is non-null
but when it is of type EntryEventType.REMOVED
,
the value is null
.V getOldValue()
null
while in other cases it may be non-null
. For instance,
when the event is of type EntryEventType.ADDED
, the old
value is null
but when it is of type EntryEventType.REMOVED
,
the value is non-null
.EntryEventType getType()
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.