public static enum TransactionalExecutor.Code extends Enum<TransactionalExecutor.Code>
| Enum Constant and Description |
|---|
BeginFailure
Begin failure code.
|
CommitFailure
Commit failure code.
|
ReportFailure
Report failure code.
|
RollbackDone
Rollback done code.
|
RollbackFailure
Rollback failure code.
|
Rollbacking
Rollback retrying code.
|
Unknown
Unknown code.
|
| Modifier and Type | Method and Description |
|---|---|
static TransactionalExecutor.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionalExecutor.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionalExecutor.Code Unknown
public static final TransactionalExecutor.Code BeginFailure
public static final TransactionalExecutor.Code CommitFailure
public static final TransactionalExecutor.Code RollbackFailure
public static final TransactionalExecutor.Code RollbackDone
public static final TransactionalExecutor.Code ReportFailure
public static final TransactionalExecutor.Code Rollbacking
public static TransactionalExecutor.Code[] values()
for (TransactionalExecutor.Code c : TransactionalExecutor.Code.values()) System.out.println(c);
public static TransactionalExecutor.Code 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 © 2023 Seata. All rights reserved.