java.io.Serializable
, java.lang.Comparable<ClusterRebalanceAllocationDecider.ClusterRebalanceType>
public static enum ClusterRebalanceAllocationDecider.ClusterRebalanceType extends java.lang.Enum<ClusterRebalanceAllocationDecider.ClusterRebalanceType>
Enum Constant | Description |
---|---|
ALWAYS |
Re-balancing is allowed once a shard replication group is active
|
INDICES_ALL_ACTIVE |
Re-balancing is allowed only once all shards on all indices are active.
|
INDICES_PRIMARIES_ACTIVE |
Re-balancing is allowed only once all primary shards on all indices are active.
|
Modifier and Type | Method | Description |
---|---|---|
static ClusterRebalanceAllocationDecider.ClusterRebalanceType |
parseString(java.lang.String typeString) |
|
java.lang.String |
toString() |
|
static ClusterRebalanceAllocationDecider.ClusterRebalanceType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ClusterRebalanceAllocationDecider.ClusterRebalanceType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterRebalanceAllocationDecider.ClusterRebalanceType ALWAYS
public static final ClusterRebalanceAllocationDecider.ClusterRebalanceType INDICES_PRIMARIES_ACTIVE
public static final ClusterRebalanceAllocationDecider.ClusterRebalanceType INDICES_ALL_ACTIVE
public static ClusterRebalanceAllocationDecider.ClusterRebalanceType[] values()
for (ClusterRebalanceAllocationDecider.ClusterRebalanceType c : ClusterRebalanceAllocationDecider.ClusterRebalanceType.values()) System.out.println(c);
public static ClusterRebalanceAllocationDecider.ClusterRebalanceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ClusterRebalanceAllocationDecider.ClusterRebalanceType parseString(java.lang.String typeString)
public java.lang.String toString()
toString
in class java.lang.Enum<ClusterRebalanceAllocationDecider.ClusterRebalanceType>