public enum PartitionServiceState extends Enum<PartitionServiceState>
Enum Constant and Description |
---|
FETCHING_PARTITION_TABLE
Indicates that new master still fetching partition tables from cluster members
to determine the most recent partition table published by the previous master.
|
MIGRATION_LOCAL
Indicates that there is an ongoing migration on this node.
|
MIGRATION_ON_MASTER
Indicates that there are migrations ongoing and scheduled by master node.
|
REPLICA_NOT_OWNED
Indicates that there are some unowned replicas.
|
REPLICA_NOT_SYNC
Indicates that there are out-of-sync replicas for owned partitions by this node.
|
SAFE
Indicates that there are no ongoing migrations on the system
and all backups are sync for partitions owned by this node.
|
Modifier and Type | Method and Description |
---|---|
static PartitionServiceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PartitionServiceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartitionServiceState SAFE
public static final PartitionServiceState MIGRATION_LOCAL
public static final PartitionServiceState MIGRATION_ON_MASTER
public static final PartitionServiceState REPLICA_NOT_SYNC
public static final PartitionServiceState REPLICA_NOT_OWNED
public static final PartitionServiceState FETCHING_PARTITION_TABLE
public static PartitionServiceState[] values()
for (PartitionServiceState c : PartitionServiceState.values()) System.out.println(c);
public static PartitionServiceState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.