@ExperimentalApi public enum UpgradeState extends Enum<UpgradeState>
Enum Constant and Description |
---|
MIXED
At least one node has been upgraded and re-joined the cluster with a higher build number.
|
READY_TO_RUN_UPGRADE_TASKS
All nodes have re-joined the cluster with a higher build number.
|
READY_TO_UPGRADE
Cluster nodes are ready to be brought down and upgraded.
|
RUNNING_UPGRADE_TASKS
The delayed upgrade tasks are currently running on a node.
|
STABLE
Stable state.
|
UPGRADE_TASKS_FAILED
Running the upgrade tasks has failed.
|
Modifier and Type | Method and Description |
---|---|
static UpgradeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpgradeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpgradeState STABLE
public static final UpgradeState READY_TO_UPGRADE
public static final UpgradeState MIXED
READY_TO_UPGRADE
still applies.public static final UpgradeState READY_TO_RUN_UPGRADE_TASKS
public static final UpgradeState RUNNING_UPGRADE_TASKS
STABLE
.public static final UpgradeState UPGRADE_TASKS_FAILED
READY_TO_RUN_UPGRADE_TASKS
.public static UpgradeState[] values()
for (UpgradeState c : UpgradeState.values()) System.out.println(c);
public static UpgradeState 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 © 2002-2019 Atlassian. All Rights Reserved.