java.io.Serializable, java.lang.Comparable<Constants.HomeLoadAlgorithm>public static enum Constants.HomeLoadAlgorithm extends java.lang.Enum<Constants.HomeLoadAlgorithm>
| Enum Constant | Description |
|---|---|
RANDOM |
|
RANDOM_AFFINITY |
|
ROUND_ROBIN |
|
ROUND_ROBIN_AFFINITY |
|
UNSPECIFIED |
|
WEIGHT_BASED |
|
WEIGHT_BASED_AFFINITY |
| Modifier and Type | Method | Description |
|---|---|---|
static Constants.HomeLoadAlgorithm |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null