|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Store.PersistMode>
org.jtoolkit.essence.data.Store.PersistMode
public static enum Store.PersistMode
How is the data persisted.
| Enum Constant Summary | |
|---|---|
ANY
A default mode for the store is chosen. |
|
ASYNC
Data is persisted in large batches. |
|
NONE
Data can be modified in memory but is not persisted. |
|
READ_ONLY
Data cannot be updates and throws an IllegalStateException if an attempt is made. |
|
SEMI_SYNC
Data is persisted by a background thread as quickly as is efficient. |
|
SYNC
Data is always persisted before the operation returns. |
|
| Method Summary | |
|---|---|
static Store.PersistMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Store.PersistMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Store.PersistMode ANY
public static final Store.PersistMode NONE
public static final Store.PersistMode ASYNC
public static final Store.PersistMode SEMI_SYNC
public static final Store.PersistMode SYNC
public static final Store.PersistMode READ_ONLY
| Method Detail |
|---|
public static final Store.PersistMode[] values()
for(Store.PersistMode c : Store.PersistMode.values())
System.out.println(c);
public static Store.PersistMode 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 name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||