public final class UndoLogManager extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
deleteUndoLog(String xid,
long branchId,
Connection conn)
Delete undo log.
|
static void |
flushUndoLogs(ConnectionProxy cp)
Flush undo logs.
|
static void |
undo(DataSourceProxy dataSourceProxy,
String xid,
long branchId)
Undo.
|
public static void flushUndoLogs(ConnectionProxy cp) throws SQLException
cp - the cpSQLException - the sql exceptionpublic static void undo(DataSourceProxy dataSourceProxy, String xid, long branchId) throws TransactionException
dataSourceProxy - the data source proxyxid - the xidbranchId - the branch idTransactionException - the transaction exceptionpublic static void deleteUndoLog(String xid, long branchId, Connection conn) throws SQLException
xid - the xidbranchId - the branch idconn - the connSQLException - the sql exceptionCopyright © 2019 Seata. All rights reserved.