public enum ClientCacheOptions extends java.lang.Enum<ClientCacheOptions>
The ClientCacheOptions
enum indicates in-memory client cache usage.
The ClientCacheOptions
can be used to disable the in-memory ClientCache
or dictate ClientCache
behavior.
Enum Constant and Description |
---|
DeepCopy
Returns a "deep copy" of the object.
|
Disable
Disables the client cache.
|
Reference
Returns a reference to the object.
|
Modifier and Type | Method and Description |
---|---|
static ClientCacheOptions |
fromString(java.lang.String value)
Retrieve a ClientCacheOptions enum from a string.
|
static ClientCacheOptions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientCacheOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientCacheOptions Reference
public static final ClientCacheOptions DeepCopy
public static final ClientCacheOptions Disable
public static ClientCacheOptions[] values()
for (ClientCacheOptions c : ClientCacheOptions.values()) System.out.println(c);
public static ClientCacheOptions 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 nullpublic static ClientCacheOptions fromString(java.lang.String value)
Constants.OBJECT_CLIENT_CACHE_OPTION_DEEPCOPY
Constants.OBJECT_CLIENT_CACHE_OPTION_REFERENCE
Constants.OBJECT_CLIENT_CACHE_OPTION_DISABLED
value
- Constants.OBJECT_CLIENT_CACHE_OPTION_DEEPCOPY
, Constants.OBJECT_CLIENT_CACHE_OPTION_REFERENCE
Constants.OBJECT_CLIENT_CACHE_OPTION_DISABLED