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