com.hazelcast.map
Class MapPartitionLostEvent
java.lang.Object
java.util.EventObject
com.hazelcast.core.AbstractIMapEvent
com.hazelcast.map.MapPartitionLostEvent
- All Implemented Interfaces:
- IMapEvent, Serializable
public class MapPartitionLostEvent
- extends AbstractIMapEvent
Used for providing information about the lost partition for a map
- See Also:
MapPartitionLostListener
,
Serialized Form
Method Summary |
int |
getPartitionId()
Returns the partition id that has been lost for the given map |
String |
toString()
Returns a String representation of this event. |
MapPartitionLostEvent
public MapPartitionLostEvent(Object source,
Member member,
int eventType,
int partitionId)
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 String toString()
- Description copied from class:
AbstractIMapEvent
- Returns a String representation of this event.
- Overrides:
toString
in class AbstractIMapEvent
- Returns:
- A String representation of this event.
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.