|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TransactionSettingsBackendLockBehavior>
com.unboundid.ldap.sdk.unboundidds.controls.TransactionSettingsBackendLockBehavior
@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum TransactionSettingsBackendLockBehavior
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 to indicate whether and when to acquire an exclusive lock in the target backend when processing a transaction.
TransactionSettingsRequestControl
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
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 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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic int intValue()
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |