Package com.hazelcast.map
Class MapPartitionLostEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.hazelcast.map.AbstractIMapEvent
-
- com.hazelcast.map.MapPartitionLostEvent
-
- All Implemented Interfaces:
IMapEvent
,java.io.Serializable
public class MapPartitionLostEvent extends AbstractIMapEvent
Used for providing information about the lost partition for a map- See Also:
MapPartitionLostListener
, Serialized Form
-
-
Field Summary
-
Fields inherited from class com.hazelcast.map.AbstractIMapEvent
name
-
-
Constructor Summary
Constructors Constructor Description MapPartitionLostEvent(java.lang.Object source, Member member, int eventType, int partitionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPartitionId()
Returns the partition ID that has been lost for the given mapjava.lang.String
toString()
Returns a String representation of this event.-
Methods inherited from class com.hazelcast.map.AbstractIMapEvent
getEventType, getMember, getName, getSource
-
-
-
-
Constructor Detail
-
MapPartitionLostEvent
public MapPartitionLostEvent(java.lang.Object source, Member member, int eventType, int partitionId)
-
-
Method Detail
-
getPartitionId
public int getPartitionId()
Returns the partition ID that has been lost for the given map- Returns:
- the partition ID that has been lost for the given map
-
toString
public java.lang.String toString()
Description copied from class:AbstractIMapEvent
Returns a String representation of this event.- Overrides:
toString
in classAbstractIMapEvent
- Returns:
- A String representation of this event.
-
-