public class DeserializingEventJournalMapEvent<K,V> extends InternalEventJournalMapEvent implements EventJournalMapEvent<K,V>, HazelcastInstanceAware
dataKey, dataNewValue, dataOldValue, eventType| Constructor and Description | 
|---|
DeserializingEventJournalMapEvent()  | 
DeserializingEventJournalMapEvent(SerializationService serializationService,
                                 InternalEventJournalMapEvent je)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getId()
Returns type identifier for this class. 
 | 
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. 
 | 
void | 
setHazelcastInstance(HazelcastInstance hazelcastInstance)
Gets the HazelcastInstance reference when submitting a Runnable/Callable using Hazelcast ExecutorService. 
 | 
void | 
writeData(ObjectDataOutput out)
Writes object fields to output stream 
 | 
equals, getDataKey, getDataNewValue, getDataOldValue, getEventType, getFactoryId, hashCode, readData, toStringpublic DeserializingEventJournalMapEvent()
public DeserializingEventJournalMapEvent(SerializationService serializationService, InternalEventJournalMapEvent je)
public int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablegetId in class InternalEventJournalMapEventpublic K getKey()
EventJournalMapEventgetKey in interface EventJournalMapEvent<K,V>public V getNewValue()
EventJournalMapEventnull 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.getNewValue in interface EventJournalMapEvent<K,V>public V getOldValue()
EventJournalMapEventnull 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.getOldValue in interface EventJournalMapEvent<K,V>public EntryEventType getType()
EventJournalMapEventgetType in interface EventJournalMapEvent<K,V>public void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializablewriteData in class InternalEventJournalMapEventout - outputIOException - if an I/O error occurs. In particular,
                     an IOException may be thrown if the
                     output stream has been closed.public void setHazelcastInstance(HazelcastInstance hazelcastInstance)
HazelcastInstanceAwaresetHazelcastInstance in interface HazelcastInstanceAwarehazelcastInstance - the HazelcastInstance referenceCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.