public enum PartitionServiceState extends Enum<PartitionServiceState>
Enum Constant and Description |
---|
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 replicas are not owned.
|
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 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 © 2016 Hazelcast, Inc.. All Rights Reserved.