|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TransactionSettingsCommitDurability>
com.unboundid.ldap.sdk.unboundidds.controls.TransactionSettingsCommitDurability
@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum TransactionSettingsCommitDurability
NOTE: This class is part of the Commercial Edition of the UnboundID LDAP SDK for Java. It is not available for use in applications that include only the Standard Edition of the LDAP SDK, and is not supported for use in conjunction with non-UnboundID products.This enum defines the options that may be specified for the transaction commit durability when using the transaction settings request control.
TransactionSettingsRequestControl
Enum Constant Summary | |
---|---|
FULLY_SYNCHRONOUS
Indicates that the commit should be fully synchronous. |
|
NON_SYNCHRONOUS
Indicates that the commit should be non-synchronous. |
|
PARTIALLY_SYNCHRONOUS
Indicates that the commit should be partially synchronous. |
Method Summary | |
---|---|
int |
intValue()
Retrieves the integer value for this transaction settings commit durability value. |
static TransactionSettingsCommitDurability |
valueOf(int intValue)
Retrieves the commit durability value with the specified integer value. |
static TransactionSettingsCommitDurability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TransactionSettingsCommitDurability[] |
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 TransactionSettingsCommitDurability NON_SYNCHRONOUS
public static final TransactionSettingsCommitDurability PARTIALLY_SYNCHRONOUS
public static final TransactionSettingsCommitDurability FULLY_SYNCHRONOUS
Method Detail |
---|
public static TransactionSettingsCommitDurability[] values()
for (TransactionSettingsCommitDurability c : TransactionSettingsCommitDurability.values()) System.out.println(c);
public static TransactionSettingsCommitDurability 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
java.lang.NullPointerException
- if the argument is nullpublic int intValue()
public static TransactionSettingsCommitDurability valueOf(int intValue)
intValue
- The integer value for the commit durability to retrieve.
null
if there is no such commit durability value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |