com.hazelcast.map.impl
Class EntryEventData
java.lang.Object
com.hazelcast.map.impl.EntryEventData
- All Implemented Interfaces:
- EventData, DataSerializable
public class EntryEventData
- extends Object
An entry's event data.
dataKey
protected Data dataKey
dataNewValue
protected Data dataNewValue
dataOldValue
protected Data dataOldValue
EntryEventData
public EntryEventData()
EntryEventData
public EntryEventData(String source,
String mapName,
Address caller,
Data dataKey,
Data dataNewValue,
Data dataOldValue,
int eventType)
getDataKey
public Data getDataKey()
getDataNewValue
public Data getDataNewValue()
getDataOldValue
public Data getDataOldValue()
writeData
public void writeData(ObjectDataOutput out)
throws IOException
- Description copied from interface:
DataSerializable
- Writes object fields to output stream
- Specified by:
writeData
in interface DataSerializable
- Parameters:
out
- output
- Throws:
IOException
readData
public void readData(ObjectDataInput in)
throws IOException
- Description copied from interface:
DataSerializable
- Reads fields from the input stream
- Specified by:
readData
in interface DataSerializable
- Parameters:
in
- input
- Throws:
IOException
cloneWithoutValues
public Object cloneWithoutValues()
toString
public String toString()
getSource
public String getSource()
- Specified by:
getSource
in interface EventData
getMapName
public String getMapName()
- Specified by:
getMapName
in interface EventData
getCaller
public Address getCaller()
- Specified by:
getCaller
in interface EventData
getEventType
public int getEventType()
- Specified by:
getEventType
in interface EventData
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.