public static enum EnableAllocationDecider.Rebalance extends Enum<EnableAllocationDecider.Rebalance>
EnableAllocationDecider.CLUSTER_ROUTING_REBALANCE_ENABLE
/ EnableAllocationDecider.INDEX_ROUTING_REBALANCE_ENABLE
via cluster / index settings.Modifier and Type | Method and Description |
---|---|
static EnableAllocationDecider.Rebalance |
parse(String strValue) |
static EnableAllocationDecider.Rebalance |
valueOf(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(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.Rebalance parse(String strValue)
Copyright © 2009–2016. All rights reserved.