com.hazelcast.monitor.impl
public class MemberPartitionStateImpl extends Object implements MemberPartitionState
| Modifier and Type | Field and Description | 
|---|---|
| static int | DEFAULT_PARTITION_COUNT | 
| Constructor and Description | 
|---|
| MemberPartitionStateImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| void | fromJson(com.eclipsesource.json.JsonObject json) | 
| long | getMigrationQueueSize()Returns Migration queue size (This statistic is valid only for master) | 
| List<Integer> | getPartitions()Get list of owned partitions of the member | 
| int | hashCode() | 
| boolean | isMemberStateSafe()Returns whether member is safe for shutdown. | 
| void | setMemberStateSafe(boolean memberStateSafe) | 
| void | setMigrationQueueSize(long migrationQueueSize) | 
| com.eclipsesource.json.JsonObject | toJson() | 
| String | toString() | 
public static final int DEFAULT_PARTITION_COUNT
public com.eclipsesource.json.JsonObject toJson()
toJson in interface JsonSerializablepublic void fromJson(com.eclipsesource.json.JsonObject json)
fromJson in interface JsonSerializablepublic List<Integer> getPartitions()
MemberPartitionStategetPartitions in interface MemberPartitionStatepublic boolean isMemberStateSafe()
MemberPartitionStateisMemberStateSafe in interface MemberPartitionStatepublic void setMemberStateSafe(boolean memberStateSafe)
public long getMigrationQueueSize()
MemberPartitionStategetMigrationQueueSize in interface MemberPartitionStatepublic void setMigrationQueueSize(long migrationQueueSize)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.