public class MapEventData extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
numberOfEntries |
| Constructor and Description |
|---|
MapEventData() |
MapEventData(String source,
String mapName,
com.hazelcast.nio.Address caller,
int eventType,
int numberOfEntries) |
| Modifier and Type | Method and Description |
|---|---|
com.hazelcast.nio.Address |
getCaller() |
int |
getEventType() |
String |
getMapName() |
int |
getNumberOfEntries() |
String |
getSource() |
void |
readData(com.hazelcast.nio.ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out)
Writes object fields to output stream
|
public int getNumberOfEntries()
public void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionpublic String toString()
public String getMapName()
getMapName in interface EventDatapublic com.hazelcast.nio.Address getCaller()
public int getEventType()
getEventType in interface EventDataCopyright © 2014 Hazelcast, Inc.. All Rights Reserved.