Enum Class ClusterRebalanceAllocationDecider.ClusterRebalanceType
<ClusterRebalanceAllocationDecider.ClusterRebalanceType>
org.elasticsearch.cluster.routing.allocation.decider.ClusterRebalanceAllocationDecider.ClusterRebalanceType
- All Implemented Interfaces:
,
<
- Enclosing class:
- ClusterRebalanceAllocationDecider
public static enum ClusterRebalanceAllocationDecider.ClusterRebalanceType
extends <ClusterRebalanceAllocationDecider.ClusterRebalanceType>
An enum representation for the configured re-balance type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.
< extends <>>
-
Enum Constant Summary
Enum ConstantDescriptionRe-balancing is allowed once a shard replication group is activeRe-balancing is allowed only once all shards on all indices are active.Re-balancing is allowed only once all primary shards on all indices are active. -
Method Summary
Methods inherited from class java.lang.
, , , , , , , , ,
Methods inherited from class java.lang.
, , , , ,
-
Enum Constant Details
-
ALWAYS
Re-balancing is allowed once a shard replication group is active -
INDICES_PRIMARIES_ACTIVE
Re-balancing is allowed only once all primary shards on all indices are active. -
INDICES_ALL_ACTIVE
Re-balancing is allowed only once all shards on all indices are active.
-
-
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
public static name)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:
- if this enum class has no constant with the specified name
- if the argument is null
-
parseString
public static typeString) -
toString
public toString()- Overrides:
in class
<ClusterRebalanceAllocationDecider.ClusterRebalanceType>
-