Package com.hazelcast.map
Class MapPartitionLostEvent
java.lang.Object
java.util.EventObject
com.hazelcast.map.AbstractIMapEvent
com.hazelcast.map.MapPartitionLostEvent
- All Implemented Interfaces:
IMapEvent
,Serializable
Used for providing information about the lost partition for a map
- See Also:
-
Field Summary
Fields inherited from class com.hazelcast.map.AbstractIMapEvent
name
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionMapPartitionLostEvent
(Object source, Member member, int eventType, int partitionId) -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the partition ID that has been lost for the given maptoString()
Returns a String representation of this event.Methods inherited from class com.hazelcast.map.AbstractIMapEvent
getEventType, getMember, getName, getSource
-
Constructor Details
-
MapPartitionLostEvent
-
-
Method Details
-
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
Description copied from class:AbstractIMapEvent
Returns a String representation of this event.- Overrides:
toString
in classAbstractIMapEvent
- Returns:
- A String representation of this event.
-