@Stability.Internal public static enum TransactionOperationFailedException.FinalErrorToRaise extends Enum<TransactionOperationFailedException.FinalErrorToRaise>
Enum Constant and Description |
---|
TRANSACTION_COMMIT_AMBIGUOUS |
TRANSACTION_EXPIRED |
TRANSACTION_FAILED |
TRANSACTION_FAILED_POST_COMMIT
This will currently result in returning success to the application, but unstagingCompleted() will be false.
|
TRANSACTION_SUCCESS |
Modifier and Type | Method and Description |
---|---|
static TransactionOperationFailedException.FinalErrorToRaise |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionOperationFailedException.FinalErrorToRaise[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionOperationFailedException.FinalErrorToRaise TRANSACTION_SUCCESS
public static final TransactionOperationFailedException.FinalErrorToRaise TRANSACTION_FAILED
public static final TransactionOperationFailedException.FinalErrorToRaise TRANSACTION_EXPIRED
public static final TransactionOperationFailedException.FinalErrorToRaise TRANSACTION_COMMIT_AMBIGUOUS
public static final TransactionOperationFailedException.FinalErrorToRaise TRANSACTION_FAILED_POST_COMMIT
public static TransactionOperationFailedException.FinalErrorToRaise[] values()
for (TransactionOperationFailedException.FinalErrorToRaise c : TransactionOperationFailedException.FinalErrorToRaise.values()) System.out.println(c);
public static TransactionOperationFailedException.FinalErrorToRaise valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2024 Couchbase, Inc.. All rights reserved.