public enum TargetReadPreferenceType extends java.lang.Enum<TargetReadPreferenceType>
Enum Constant and Description |
---|
AFTER_NEARLINE_POOL |
AFTER_NON_EJECTABLE_TAPE |
AFTER_ONLINE_POOL |
LAST_RESORT |
MINIMUM_LATENCY |
NEVER |
Modifier and Type | Method and Description |
---|---|
static TargetReadPreferenceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TargetReadPreferenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetReadPreferenceType MINIMUM_LATENCY
public static final TargetReadPreferenceType AFTER_ONLINE_POOL
public static final TargetReadPreferenceType AFTER_NEARLINE_POOL
public static final TargetReadPreferenceType AFTER_NON_EJECTABLE_TAPE
public static final TargetReadPreferenceType LAST_RESORT
public static final TargetReadPreferenceType NEVER
public static TargetReadPreferenceType[] values()
for (TargetReadPreferenceType c : TargetReadPreferenceType.values()) System.out.println(c);
public static TargetReadPreferenceType 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