public interface TransactionCoordinatorOutbound
| 限定符和类型 | 方法和说明 |
|---|---|
BranchStatus |
branchCommit(GlobalSession globalSession,
BranchSession branchSession)
Commit a branch transaction.
|
BranchStatus |
branchRollback(GlobalSession globalSession,
BranchSession branchSession)
Rollback a branch transaction.
|
BranchStatus branchCommit(GlobalSession globalSession, BranchSession branchSession) throws TransactionException
globalSession - the global sessionbranchSession - the branch sessionTransactionException - Any exception that fails this will be wrapped with TransactionException and thrown
out.BranchStatus branchRollback(GlobalSession globalSession, BranchSession branchSession) throws TransactionException
globalSession - the global sessionbranchSession - the branch sessionTransactionException - Any exception that fails this will be wrapped with TransactionException and thrown
out.Copyright © 2022 Seata. All rights reserved.