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