com.hazelcast.partition
Class PartitionInfo

java.lang.Object
  extended by com.hazelcast.partition.PartitionInfo

public class PartitionInfo
extends Object

A DTO for Partition Information.


Constructor Summary
PartitionInfo(int partitionId, Address[] addresses)
           
 
Method Summary
 boolean equals(Object o)
           
 int getPartitionId()
           
 Address getReplicaAddress(int index)
           
 Address[] getReplicaAddresses()
           
 int getReplicaCount()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PartitionInfo

public PartitionInfo(int partitionId,
                     Address[] addresses)
Method Detail

getReplicaAddress

public Address getReplicaAddress(int index)

getReplicaAddresses

public Address[] getReplicaAddresses()

getPartitionId

public int getPartitionId()

getReplicaCount

public int getReplicaCount()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


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