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