|
Oracle NoSQL Database version 11gR2.2.0.26 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Durability.SyncPolicy> oracle.kv.Durability.SyncPolicy
public static enum Durability.SyncPolicy
Defines the synchronization policy to be used when committing a transaction. High levels of synchronization offer a greater guarantee that the transaction is persistent to disk, but trade that off for lower performance.
Enum Constant Summary | |
---|---|
NO_SYNC
Do not write or synchronously flush the log on transaction commit. |
|
SYNC
Write and synchronously flush the log on transaction commit. |
|
WRITE_NO_SYNC
Write but do not synchronously flush the log on transaction commit. |
Method Summary | |
---|---|
static Durability.SyncPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Durability.SyncPolicy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Durability.SyncPolicy SYNC
public static final Durability.SyncPolicy NO_SYNC
public static final Durability.SyncPolicy WRITE_NO_SYNC
Method Detail |
---|
public static Durability.SyncPolicy[] values()
for (Durability.SyncPolicy c : Durability.SyncPolicy.values()) System.out.println(c);
public static Durability.SyncPolicy valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
Oracle NoSQL Database version 11gR2.2.0.26 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |