public enum BackingStoreAsyncPolicy extends Enum<BackingStoreAsyncPolicy> implements Serializable
Enum Constant and Description |
---|
None
The server should not contact client code to 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 BackingStoreAsyncPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackingStoreAsyncPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackingStoreAsyncPolicy RefreshAhead
public static final BackingStoreAsyncPolicy WriteBehind
public static final BackingStoreAsyncPolicy None
public static BackingStoreAsyncPolicy[] values()
for (BackingStoreAsyncPolicy c : BackingStoreAsyncPolicy.values()) System.out.println(c);
public static BackingStoreAsyncPolicy 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 (C) 2007-2014 ScaleOut Software, Inc.