public static enum BalancerStrategy.Type extends Enum<BalancerStrategy.Type>
| Enum Constant and Description |
|---|
RANDOM_STRATEGY |
ROUND_ROBIN_STRATEGY |
| Modifier and Type | Method and Description |
|---|---|
static BalancerStrategy.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BalancerStrategy.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BalancerStrategy.Type RANDOM_STRATEGY
public static final BalancerStrategy.Type ROUND_ROBIN_STRATEGY
public static BalancerStrategy.Type[] values()
for (BalancerStrategy.Type c : BalancerStrategy.Type.values()) System.out.println(c);
public static BalancerStrategy.Type 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 © 2001–2017 JBoss by Red Hat. All rights reserved.