com.hazelcast.map
Class MapPartitionLostEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.hazelcast.core.AbstractIMapEvent
          extended by 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

Field Summary
 
Fields inherited from class com.hazelcast.core.AbstractIMapEvent
name
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MapPartitionLostEvent(Object source, Member member, int eventType, int partitionId)
           
 
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.
 
Methods inherited from class com.hazelcast.core.AbstractIMapEvent
getEventType, getMember, getName, getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapPartitionLostEvent

public MapPartitionLostEvent(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 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.