public static enum ClusterRebalanceAllocationDecider.ClusterRebalanceType extends Enum<ClusterRebalanceAllocationDecider.ClusterRebalanceType>
Enum Constant and 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 and Description |
---|---|
static ClusterRebalanceAllocationDecider.ClusterRebalanceType |
parseString(String typeString) |
static ClusterRebalanceAllocationDecider.ClusterRebalanceType |
valueOf(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(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 ClusterRebalanceAllocationDecider.ClusterRebalanceType parseString(String typeString)
Copyright © 2009–2016. All rights reserved.