public enum AlgorithmType extends Enum<AlgorithmType>
Enum Constant and Description |
---|
FAILOVER |
LOAD_BALANCING |
Modifier and Type | Method and Description |
---|---|
static AlgorithmType |
fromValue(String value) |
String |
toString() |
String |
value() |
static AlgorithmType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlgorithmType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlgorithmType FAILOVER
public static final AlgorithmType LOAD_BALANCING
public static AlgorithmType[] values()
for (AlgorithmType c : AlgorithmType.values()) System.out.println(c);
public static AlgorithmType 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 AlgorithmType fromValue(String value)
public String toString()
toString
in class Enum<AlgorithmType>
public String value()