@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum TransactionSettingsCommitDurability extends java.lang.Enum<TransactionSettingsCommitDurability>
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
TransactionSettingsRequestControl
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static TransactionSettingsCommitDurability |
forName(java.lang.String name)
Retrieves the transaction settings commit durability with the specified
name.
|
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.
|
public static final TransactionSettingsCommitDurability NON_SYNCHRONOUS
public static final TransactionSettingsCommitDurability PARTIALLY_SYNCHRONOUS
public static final TransactionSettingsCommitDurability FULLY_SYNCHRONOUS
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 namejava.lang.NullPointerException
- if the argument is nullpublic int intValue()
@Nullable 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.@Nullable public static TransactionSettingsCommitDurability forName(@NotNull java.lang.String name)
name
- The name of the transaction settings commit durability to
retrieve. It must not be null
.null
if no such durability is defined.