public class EntryEventData extends Object
Modifier and Type | Field and Description |
---|---|
protected Address |
caller |
protected Data |
dataKey |
protected Data |
dataMergingValue |
protected Data |
dataNewValue |
protected Data |
dataOldValue |
protected int |
eventType |
protected String |
mapName |
protected String |
source |
Constructor and Description |
---|
EntryEventData() |
EntryEventData(String source,
String mapName,
Address caller,
Data dataKey,
Data dataNewValue,
Data dataOldValue,
Data dataMergingValue,
int eventType) |
EntryEventData(String source,
String mapName,
Address caller,
Data dataKey,
Data dataNewValue,
Data dataOldValue,
int eventType) |
Modifier and Type | Method and Description |
---|---|
Address |
getCaller() |
Data |
getDataKey() |
Data |
getDataMergingValue() |
Data |
getDataNewValue() |
Data |
getDataOldValue() |
int |
getEventType() |
String |
getMapName() |
String |
getSource() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
protected Data dataKey
protected Data dataNewValue
protected Data dataOldValue
protected Data dataMergingValue
protected String source
protected String mapName
protected Address caller
protected int eventType
public EntryEventData()
public EntryEventData(String source, String mapName, Address caller, Data dataKey, Data dataNewValue, Data dataOldValue, int eventType)
public Data getDataKey()
public Data getDataNewValue()
public Data getDataOldValue()
public Data getDataMergingValue()
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
input stream has been closed.public String toString()
public String getMapName()
getMapName
in interface EventData
public int getEventType()
getEventType
in interface EventData
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.