public static enum BalancedShardsAllocator.Operation extends Enum<BalancedShardsAllocator.Operation>
BalancedShardsAllocator.WeightFunction is
applied to.| Enum Constant and Description |
|---|
ALLOCATE
Provided during initial allocation operation for unassigned shards.
|
BALANCE
Provided during balance operations.
|
MOVE
Provided during move operation.
|
| Modifier and Type | Method and Description |
|---|---|
static BalancedShardsAllocator.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BalancedShardsAllocator.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BalancedShardsAllocator.Operation BALANCE
public static final BalancedShardsAllocator.Operation ALLOCATE
public static final BalancedShardsAllocator.Operation MOVE
public static BalancedShardsAllocator.Operation[] values()
for (BalancedShardsAllocator.Operation c : BalancedShardsAllocator.Operation.values()) System.out.println(c);
public static BalancedShardsAllocator.Operation 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 nullCopyright © 2009–2016. All rights reserved.