public enum InternalPartitionServiceState extends Enum<InternalPartitionServiceState>
Enum Constant and Description |
---|
MIGRATION_LOCAL
Indicates that there is a migration operation ongoing on this node
|
MIGRATION_ON_MASTER
Indicates that master node manages a migration operation between 2 other nodes
|
REPLICA_NOT_SYNC
Indicates that there is an not-sync first replica on other nodes for owned partitions of the this node
|
SAFE
Indicates that there is no migration operation on the system and all first backups are sync for partitions
owned by this node
|
Modifier and Type | Method and Description |
---|---|
static InternalPartitionServiceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalPartitionServiceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InternalPartitionServiceState SAFE
public static final InternalPartitionServiceState MIGRATION_LOCAL
public static final InternalPartitionServiceState MIGRATION_ON_MASTER
public static final InternalPartitionServiceState REPLICA_NOT_SYNC
public static InternalPartitionServiceState[] values()
for (InternalPartitionServiceState c : InternalPartitionServiceState.values()) System.out.println(c);
public static InternalPartitionServiceState 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.