public enum LoadBalanceEnum extends Enum<LoadBalanceEnum>
| Enum Constant and Description |
|---|
HASH
Hash load balance enum.
|
RANDOM
Random load balance enum.
|
ROUND_ROBIN
Round robin load balance enum.
|
| Modifier and Type | Method and Description |
|---|---|
static LoadBalanceEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadBalanceEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadBalanceEnum HASH
public static final LoadBalanceEnum RANDOM
public static final LoadBalanceEnum ROUND_ROBIN
public static LoadBalanceEnum[] values()
for (LoadBalanceEnum c : LoadBalanceEnum.values()) System.out.println(c);
public static LoadBalanceEnum 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 © 2021 The Apache Software Foundation. All rights reserved.