public static enum EnableAllocationDecider.Allocation extends Enum<EnableAllocationDecider.Allocation>
EnableAllocationDecider.CLUSTER_ROUTING_ALLOCATION_ENABLE / EnableAllocationDecider.INDEX_ROUTING_ALLOCATION_ENABLE
via cluster / index settings.| Enum Constant and Description |
|---|
ALL |
NEW_PRIMARIES |
NONE |
PRIMARIES |
| Modifier and Type | Method and Description |
|---|---|
static EnableAllocationDecider.Allocation |
parse(String strValue) |
static EnableAllocationDecider.Allocation |
valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static EnableAllocationDecider.Allocation parse(String strValue)
Copyright © 2009–2017. All rights reserved.