Enum Constant and Description |
---|
Default
Perform a full read with a version check if using the ClientCache.
|
Near
If the object is in the ClientCache, return the object immediately from the ClientCache without a version check
and asynchronously perform a full read.
|
Modifier and Type | Method and Description |
---|---|
static ReadMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReadMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadMode Near
public static final ReadMode Default
public static ReadMode[] values()
for (ReadMode c : ReadMode.values()) System.out.println(c);
public static ReadMode 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