public enum BackingStoreMode extends java.lang.Enum<BackingStoreMode>
BackingStoreMode
indicates the type of asynchronous backing-store behavior that the server should invoke for an object.Enum Constant and Description |
---|
None
The server should not perform asynchronous backing store operations for this object.
|
RefreshAhead
The server should periodically notify client code that the object needs to be refreshed in the cache.
|
WriteBehind
The server should periodically notify client code that the cached object needs to be written to a
persistent backing store.
|
Modifier and Type | Method and Description |
---|---|
static BackingStoreMode |
fromString(java.lang.String value)
Retrieve a backing store mode from a string value.
|
byte |
get()
Returns the byte value for this enum.
|
static BackingStoreMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BackingStoreMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackingStoreMode None
public static final BackingStoreMode RefreshAhead
public static final BackingStoreMode WriteBehind
public static BackingStoreMode[] values()
for (BackingStoreMode c : BackingStoreMode.values()) System.out.println(c);
public static BackingStoreMode 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 byte get()
public static BackingStoreMode fromString(java.lang.String value)
Constants.OBJECT_BACKING_STORE_MODE_NONE
Constants.OBJECT_BACKING_STORE_MODE_REFRESHAHEAD
Constants.OBJECT_BACKING_STORE_MODE_WRITEBEHIND
value
- Constants.OBJECT_BACKING_STORE_MODE_NONE
, Constants.OBJECT_BACKING_STORE_MODE_REFRESHAHEAD
, or
Constants.OBJECT_BACKING_STORE_MODE_WRITEBEHIND