public interface Core extends TransactionCoordinatorInbound, TransactionCoordinatorOutbound
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
doGlobalCommit(GlobalSession globalSession,
boolean retrying)
Do global commit.
|
void |
doGlobalReport(GlobalSession globalSession,
String xid,
GlobalStatus param)
Do global report.
|
boolean |
doGlobalRollback(GlobalSession globalSession,
boolean retrying)
Do global rollback.
|
branchRegister, branchReport, lockQuerybegin, commit, getStatus, globalReport, rollbackbranchCommit, branchRollbackboolean doGlobalCommit(GlobalSession globalSession, boolean retrying) throws TransactionException
globalSession - the global sessionretrying - the retryingTransactionException - the transaction exceptionboolean doGlobalRollback(GlobalSession globalSession, boolean retrying) throws TransactionException
globalSession - the global sessionretrying - the retryingTransactionException - the transaction exceptionvoid doGlobalReport(GlobalSession globalSession, String xid, GlobalStatus param) throws TransactionException
globalSession - the global sessionxid - Transaction id.param - the global statusTransactionException - the transaction exceptionCopyright © 2022 Seata. All rights reserved.