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