@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum TransactionSettingsBackendLockBehavior extends java.lang.Enum<TransactionSettingsBackendLockBehavior>
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 |
---|
ACQUIRE_AFTER_RETRIES
Indicates that if the server is unable to successfully commit the
associated transaction after one or more attempts without holding an
exclusive lock in the target backend, then it should make one more attempt
after acquiring the lock.
|
ACQUIRE_BEFORE_INITIAL_ATTEMPT
Indicates that the server should acquire an exclusive lock in the target
backend before performing any backend processing for the operation.
|
ACQUIRE_BEFORE_RETRIES
Indicates that if the server is unable to successfully commit the
associated transaction after the first attempt without holding an exclusive
lock in the target backend, then it should make one or more
additional attempts (as specified by the requested number of retries) after
acquiring the lock.
|
DO_NOT_ACQUIRE
Indicates that the server should not make any attempt to acquire an
exclusive lock in the target backend, whether during the initial attempt or
a subsequent retry.
|
Modifier and Type | Method and Description |
---|---|
static TransactionSettingsBackendLockBehavior |
forName(java.lang.String name)
Retrieves the transaction settings backend lock behavior with the specified
name.
|
int |
intValue()
Retrieves the integer value for this transaction settings backend lock
behavior value.
|
static TransactionSettingsBackendLockBehavior |
valueOf(int intValue)
Retrieves the backend lock behavior value with the specified integer value.
|
static TransactionSettingsBackendLockBehavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionSettingsBackendLockBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionSettingsBackendLockBehavior DO_NOT_ACQUIRE
public static final TransactionSettingsBackendLockBehavior ACQUIRE_AFTER_RETRIES
public static final TransactionSettingsBackendLockBehavior ACQUIRE_BEFORE_RETRIES
public static final TransactionSettingsBackendLockBehavior ACQUIRE_BEFORE_INITIAL_ATTEMPT
public static TransactionSettingsBackendLockBehavior[] values()
for (TransactionSettingsBackendLockBehavior c : TransactionSettingsBackendLockBehavior.values()) System.out.println(c);
public static TransactionSettingsBackendLockBehavior 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 TransactionSettingsBackendLockBehavior valueOf(int intValue)
intValue
- The integer value for the backend lock behavior to
retrieve.null
if there is no such backend lock behavior value.@Nullable public static TransactionSettingsBackendLockBehavior forName(@NotNull java.lang.String name)
name
- The name of the transaction settings backend lock behavior to
retrieve. It must not be null
.null
if no such behavior is defined.