com.hazelcast.map.impl
Class MapPartitionEventData
java.lang.Object
com.hazelcast.map.impl.MapPartitionEventData
- All Implemented Interfaces:
- EventData, DataSerializable
public class MapPartitionEventData
- extends Object
Contains the data related to a map partition event
source
protected String source
mapName
protected String mapName
caller
protected Address caller
eventType
protected int eventType
MapPartitionEventData
public MapPartitionEventData()
MapPartitionEventData
public MapPartitionEventData(String source,
String mapName,
Address caller,
int partitionId)
getPartitionId
public int getPartitionId()
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.