com.hazelcast.partition
Class PartitionInfo
java.lang.Object
com.hazelcast.partition.PartitionInfo
public class PartitionInfo
- extends Object
A DTO for Partition Information.
PartitionInfo
public PartitionInfo(int partitionId,
Address[] addresses)
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.