public static enum Constants.HomeLoadAlgorithm extends Enum<Constants.HomeLoadAlgorithm>
Enum Constant and Description |
---|
RANDOM |
RANDOM_AFFINITY |
ROUND_ROBIN |
ROUND_ROBIN_AFFINITY |
UNSPECIFIED |
WEIGHT_BASED |
WEIGHT_BASED_AFFINITY |
Modifier and Type | Method and Description |
---|---|
static Constants.HomeLoadAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.HomeLoadAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.HomeLoadAlgorithm UNSPECIFIED
public static final Constants.HomeLoadAlgorithm ROUND_ROBIN
public static final Constants.HomeLoadAlgorithm RANDOM
public static final Constants.HomeLoadAlgorithm WEIGHT_BASED
public static final Constants.HomeLoadAlgorithm ROUND_ROBIN_AFFINITY
public static final Constants.HomeLoadAlgorithm RANDOM_AFFINITY
public static final Constants.HomeLoadAlgorithm WEIGHT_BASED_AFFINITY
public static Constants.HomeLoadAlgorithm[] values()
for (Constants.HomeLoadAlgorithm c : Constants.HomeLoadAlgorithm.values()) System.out.println(c);
public static Constants.HomeLoadAlgorithm 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 null