public class MapEventData extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Address |
caller |
protected int |
eventType |
protected String |
mapName |
protected int |
numberOfEntries |
protected String |
source |
| Constructor and Description |
|---|
MapEventData() |
MapEventData(String source,
String mapName,
Address caller,
int eventType,
int numberOfEntries) |
| Modifier and Type | Method and Description |
|---|---|
Address |
getCaller() |
int |
getEventType() |
String |
getMapName() |
int |
getNumberOfEntries() |
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 int numberOfEntries
protected String source
protected String mapName
protected Address caller
protected int eventType
public int getNumberOfEntries()
public void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionpublic String toString()
public String getMapName()
getMapName in interface EventDatapublic int getEventType()
getEventType in interface EventDataCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.