public static enum Types.LoadBalancerMethod extends Enum<Types.LoadBalancerMethod>
Enum Constant and Description |
---|
LEAST_CONNECTIONS |
ROUND_ROBIN |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Types.LoadBalancerMethod |
fromValue(String v) |
static Types.LoadBalancerMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Types.LoadBalancerMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types.LoadBalancerMethod ROUND_ROBIN
public static final Types.LoadBalancerMethod LEAST_CONNECTIONS
public static final Types.LoadBalancerMethod UNRECOGNIZED
public static Types.LoadBalancerMethod[] values()
for (Types.LoadBalancerMethod c : Types.LoadBalancerMethod.values()) System.out.println(c);
public static Types.LoadBalancerMethod 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 Types.LoadBalancerMethod fromValue(String v)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.