Enum Class DecommissionStatus
java.lang.Object
java.lang.Enum<DecommissionStatus>
org.opensearch.client.opensearch.cluster.decommission_awareness.DecommissionStatus
- All Implemented Interfaces:
Serializable,Comparable<DecommissionStatus>,Constable,JsonEnum,JsonpSerializable
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public enum DecommissionStatus
extends Enum<DecommissionStatus>
implements JsonEnum
An enumeration of the states during decommissioning.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface org.opensearch.client.json.JsonEnum
JsonEnum.Deserializer<T extends JsonEnum> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDecommission process is initiated, and the zone is being drained.Decommission request failed.Decommission process is initiated, and to-be-decommissioned leader is excluded from voting config.Decommission process has started, decommissioned nodes should be removed.Decommission action completed. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic DecommissionStatusReturns the enum constant of this class with the specified name.static DecommissionStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Draining
Decommission process is initiated, and the zone is being drained. -
Failed
Decommission request failed. -
InProgress
Decommission process has started, decommissioned nodes should be removed. -
Init
Decommission process is initiated, and to-be-decommissioned leader is excluded from voting config. -
Successful
Decommission action completed.
-
-
Field Details
-
_DESERIALIZER
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
jsonValue
-