public enum BalancerSelfHealMode extends Enum<BalancerSelfHealMode>
Enum Constant and Description |
---|
ANY_UNEVEN_LOAD
The state when Balancer self-heals on any variation
|
EMPTY_BROKER
The state when Balancer self-heals only when brokers arrive
|
UNKNOWN
Clients will fall back to this status when they receive an unrecognized status value.
|
Modifier and Type | Method and Description |
---|---|
static BalancerSelfHealMode |
toEnum(String name) |
static BalancerSelfHealMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BalancerSelfHealMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BalancerSelfHealMode EMPTY_BROKER
public static final BalancerSelfHealMode ANY_UNEVEN_LOAD
public static final BalancerSelfHealMode UNKNOWN
public static BalancerSelfHealMode[] values()
for (BalancerSelfHealMode c : BalancerSelfHealMode.values()) System.out.println(c);
public static BalancerSelfHealMode 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 BalancerSelfHealMode toEnum(String name)