| 程序包 | 说明 |
|---|---|
| io.seata.saga.engine.store.db | |
| io.seata.saga.tm | |
| io.seata.tm.api |
| 限定符和类型 | 方法和说明 |
|---|---|
protected GlobalTransaction |
DbAndReportTcStateLogStore.getGlobalTransaction(StateMachineInstance machineInstance,
ProcessContext context) |
| 限定符和类型 | 方法和说明 |
|---|---|
GlobalTransaction |
SagaTransactionalTemplate.beginTransaction(TransactionInfo txInfo) |
GlobalTransaction |
DefaultSagaTransactionalTemplate.beginTransaction(TransactionInfo txInfo) |
GlobalTransaction |
SagaTransactionalTemplate.reloadTransaction(String xid) |
GlobalTransaction |
DefaultSagaTransactionalTemplate.reloadTransaction(String xid) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SagaTransactionalTemplate.commitTransaction(GlobalTransaction tx) |
void |
DefaultSagaTransactionalTemplate.commitTransaction(GlobalTransaction tx) |
void |
SagaTransactionalTemplate.reportTransaction(GlobalTransaction tx,
GlobalStatus globalStatus) |
void |
DefaultSagaTransactionalTemplate.reportTransaction(GlobalTransaction tx,
GlobalStatus globalStatus) |
void |
SagaTransactionalTemplate.rollbackTransaction(GlobalTransaction tx,
Throwable ex) |
void |
DefaultSagaTransactionalTemplate.rollbackTransaction(GlobalTransaction tx,
Throwable ex) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultGlobalTransaction
The type Default global transaction.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static GlobalTransaction |
GlobalTransactionContext.createNew()
Try to create a new GlobalTransaction.
|
static GlobalTransaction |
GlobalTransactionContext.getCurrent()
Get GlobalTransaction instance bind on current thread.
|
static GlobalTransaction |
GlobalTransactionContext.getCurrentOrCreate()
Get GlobalTransaction instance bind on current thread.
|
GlobalTransaction |
TransactionalExecutor.ExecutionException.getTransaction()
Gets transaction.
|
static GlobalTransaction |
GlobalTransactionContext.reload(String xid)
Reload GlobalTransaction instance according to the given XID
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
FailureHandler.onBeginFailure(GlobalTransaction tx,
Throwable cause)
On begin failure.
|
void |
DefaultFailureHandlerImpl.onBeginFailure(GlobalTransaction tx,
Throwable cause) |
void |
FailureHandler.onCommitFailure(GlobalTransaction tx,
Throwable cause)
On commit failure.
|
void |
DefaultFailureHandlerImpl.onCommitFailure(GlobalTransaction tx,
Throwable cause) |
void |
FailureHandler.onRollbackFailure(GlobalTransaction tx,
Throwable originalException)
On rollback failure.
|
void |
DefaultFailureHandlerImpl.onRollbackFailure(GlobalTransaction tx,
Throwable originalException) |
void |
FailureHandler.onRollbackRetrying(GlobalTransaction tx,
Throwable originalException)
On rollback retrying
|
void |
DefaultFailureHandlerImpl.onRollbackRetrying(GlobalTransaction tx,
Throwable originalException) |
void |
TransactionalExecutor.ExecutionException.setTransaction(GlobalTransaction transaction)
Sets transaction.
|
| 构造器和说明 |
|---|
CheckTimerTask(GlobalTransaction tx,
GlobalStatus required) |
ExecutionException(GlobalTransaction transaction,
String message,
Throwable cause,
TransactionalExecutor.Code code,
Throwable originalException)
Instantiates a new Execution exception.
|
ExecutionException(GlobalTransaction transaction,
Throwable cause,
TransactionalExecutor.Code code)
Instantiates a new Execution exception.
|
ExecutionException(GlobalTransaction transaction,
Throwable cause,
TransactionalExecutor.Code code,
Throwable originalException)
Instantiates a new Execution exception.
|
ExecutionException(GlobalTransaction transaction,
TransactionalExecutor.Code code,
Throwable originalException)
Instantiates a new Execution exception.
|
Copyright © 2022 Seata. All rights reserved.