com.hazelcast.partition
Class MigrationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.hazelcast.partition.MigrationEvent
All Implemented Interfaces:
Serializable

public class MigrationEvent
extends EventObject

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MigrationEvent(Object source, int partitionId, Member oldOwner, Member newOwner)
           
 
Method Summary
 Member getNewOwner()
           
 Member getOldOwner()
           
 int getPartitionId()
           
 String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MigrationEvent

public MigrationEvent(Object source,
                      int partitionId,
                      Member oldOwner,
                      Member newOwner)
Method Detail

getPartitionId

public int getPartitionId()

getOldOwner

public Member getOldOwner()

getNewOwner

public Member getNewOwner()

toString

public String toString()
Overrides:
toString in class EventObject


Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.