public enum LoadBalancingStrategy extends Enum<LoadBalancingStrategy>
Enum Constant and Description |
---|
NONE |
ONE_RANDOM |
ROUND_ROBIN |
Modifier and Type | Method and Description |
---|---|
static LoadBalancingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadBalancingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadBalancingStrategy NONE
public static final LoadBalancingStrategy ROUND_ROBIN
public static final LoadBalancingStrategy ONE_RANDOM
public static LoadBalancingStrategy[] values()
for (LoadBalancingStrategy c : LoadBalancingStrategy.values()) System.out.println(c);
public static LoadBalancingStrategy 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 © 2016–2019 ArangoDB GmbH. All rights reserved.