public class PartitionRuntimeState extends Object implements DataSerializable
| Modifier and Type | Field and Description | 
|---|---|
protected ArrayList<MemberInfo> | 
members  | 
| Constructor and Description | 
|---|
PartitionRuntimeState()  | 
PartitionRuntimeState(ILogger logger,
                     Collection<MemberInfo> memberInfos,
                     InternalPartition[] partitions,
                     Collection<MigrationInfo> migrationInfos,
                     long masterTime,
                     int version)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
addMemberInfo(MemberInfo memberInfo,
             Map<Address,Integer> addressIndexes,
             int memberIndex)  | 
Collection<MigrationInfo> | 
getCompletedMigrations()  | 
Address | 
getEndpoint()  | 
long | 
getMasterTime()  | 
List<MemberInfo> | 
getMembers()  | 
PartitionInfo[] | 
getPartitions()  | 
int | 
getVersion()  | 
void | 
readData(ObjectDataInput in)
Reads fields from the input stream 
 | 
void | 
setEndpoint(Address endpoint)  | 
protected void | 
setPartitions(InternalPartition[] partitions,
             Map<Address,Integer> addressIndexes)  | 
String | 
toString()  | 
void | 
writeData(ObjectDataOutput out)
Writes object fields to output stream 
 | 
protected final ArrayList<MemberInfo> members
public PartitionRuntimeState()
public PartitionRuntimeState(ILogger logger, Collection<MemberInfo> memberInfos, InternalPartition[] partitions, Collection<MigrationInfo> migrationInfos, long masterTime, int version)
protected void addMemberInfo(MemberInfo memberInfo, Map<Address,Integer> addressIndexes, int memberIndex)
protected void setPartitions(InternalPartition[] partitions, Map<Address,Integer> addressIndexes)
public PartitionInfo[] getPartitions()
public List<MemberInfo> getMembers()
public long getMasterTime()
public Address getEndpoint()
public void setEndpoint(Address endpoint)
public Collection<MigrationInfo> getCompletedMigrations()
public void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionpublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic int getVersion()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.