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 JsonSerializable
public void fromJson(com.eclipsesource.json.JsonObject json)
fromJson
in interface JsonSerializable
public List<Integer> getPartitions()
MemberPartitionState
getPartitions
in interface MemberPartitionState
public boolean isMemberStateSafe()
MemberPartitionState
isMemberStateSafe
in interface MemberPartitionState
public void setMemberStateSafe(boolean memberStateSafe)
public long getMigrationQueueSize()
MemberPartitionState
getMigrationQueueSize
in interface MemberPartitionState
public void setMigrationQueueSize(long migrationQueueSize)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.