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