com.hazelcast.map.impl
Class MapEventData
java.lang.Object
com.hazelcast.map.impl.MapEventData
- All Implemented Interfaces:
- EventData, DataSerializable
public class MapEventData
- extends Object
Map wide event's data.
numberOfEntries
protected int numberOfEntries
MapEventData
public MapEventData()
MapEventData
public MapEventData(String source,
String mapName,
Address caller,
int eventType,
int numberOfEntries)
getNumberOfEntries
public int getNumberOfEntries()
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
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.