java.io.Serializable
, java.lang.Comparable<EnableAllocationDecider.Rebalance>
public static enum EnableAllocationDecider.Rebalance extends java.lang.Enum<EnableAllocationDecider.Rebalance>
EnableAllocationDecider.CLUSTER_ROUTING_REBALANCE_ENABLE_SETTING
/
EnableAllocationDecider.INDEX_ROUTING_REBALANCE_ENABLE_SETTING
via cluster / index settings.Modifier and Type | Method | Description |
---|---|---|
static EnableAllocationDecider.Rebalance |
parse(java.lang.String strValue) |
|
java.lang.String |
toString() |
|
static EnableAllocationDecider.Rebalance |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static EnableAllocationDecider.Rebalance[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnableAllocationDecider.Rebalance NONE
public static final EnableAllocationDecider.Rebalance PRIMARIES
public static final EnableAllocationDecider.Rebalance REPLICAS
public static final EnableAllocationDecider.Rebalance ALL
public static EnableAllocationDecider.Rebalance[] values()
for (EnableAllocationDecider.Rebalance c : EnableAllocationDecider.Rebalance.values()) System.out.println(c);
public static EnableAllocationDecider.Rebalance 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 EnableAllocationDecider.Rebalance parse(java.lang.String strValue)
public java.lang.String toString()
toString
in class java.lang.Enum<EnableAllocationDecider.Rebalance>