public enum AllocationPolicy extends Enum<AllocationPolicy> implements Serializable
Enum Constant and Description |
---|
CUSTOM |
GEOLATENCY |
HASHED |
STATIC |
Modifier and Type | Method and Description |
---|---|
static AllocationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AllocationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="hashed") public static final AllocationPolicy HASHED
@SerializedName(value="geoLatency") public static final AllocationPolicy GEOLATENCY
@SerializedName(value="static") public static final AllocationPolicy STATIC
@SerializedName(value="custom") public static final AllocationPolicy CUSTOM
public static AllocationPolicy[] values()
for (AllocationPolicy c : AllocationPolicy.values()) System.out.println(c);
public static AllocationPolicy 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 nullCopyright © 2022. All rights reserved.