K
- the entry key typeV
- the entry value typepublic interface EventJournalCacheEvent<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.
|
CacheEventType |
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 CacheEventType.CREATED
, the new
value is non-null
but when it is of type CacheEventType.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 CacheEventType.CREATED
, the old
value is null
but when it is of type CacheEventType.REMOVED
,
the value is non-null
.CacheEventType getType()
Copyright © 2018 Hazelcast, Inc.. All rights reserved.