public class PartitionTableView extends Object
 getAddresses(int) returns clone of internal addresses array.
| Constructor and Description | 
|---|
PartitionTableView(Address[][] addresses,
                  int version)  | 
PartitionTableView(InternalPartition[] partitions,
                  int version)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
Address | 
getAddress(int partitionId,
          int replicaIndex)  | 
Address[] | 
getAddresses(int partitionId)  | 
int | 
getLength()  | 
int | 
getVersion()  | 
int | 
hashCode()  | 
static PartitionTableView | 
readData(ObjectDataInput in)  | 
String | 
toString()  | 
static void | 
writeData(PartitionTableView table,
         ObjectDataOutput out)  | 
public PartitionTableView(Address[][] addresses, int version)
public PartitionTableView(InternalPartition[] partitions, int version)
public int getVersion()
public Address getAddress(int partitionId, int replicaIndex)
public int getLength()
public Address[] getAddresses(int partitionId)
public static void writeData(PartitionTableView table, ObjectDataOutput out) throws IOException
IOExceptionpublic static PartitionTableView readData(ObjectDataInput in) throws IOException
IOExceptionCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.