com.hazelcast.partition.impl
Class PartitionReplicaChangeEvent

java.lang.Object
  extended by com.hazelcast.partition.impl.PartitionReplicaChangeEvent

public class PartitionReplicaChangeEvent
extends Object


Constructor Summary
PartitionReplicaChangeEvent(int partitionId, int replicaIndex, Address oldAddress, Address newAddress)
           
 
Method Summary
 Address getNewAddress()
           
 Address getOldAddress()
           
 int getPartitionId()
           
 int getReplicaIndex()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PartitionReplicaChangeEvent

public PartitionReplicaChangeEvent(int partitionId,
                                   int replicaIndex,
                                   Address oldAddress,
                                   Address newAddress)
Method Detail

getPartitionId

public int getPartitionId()

getReplicaIndex

public int getReplicaIndex()

getOldAddress

public Address getOldAddress()

getNewAddress

public Address getNewAddress()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.