public interface UndoLogManager
| 限定符和类型 | 方法和说明 |
|---|---|
void |
batchDeleteUndoLog(Set<String> xids,
Set<Long> branchIds,
Connection conn)
batch Delete undo log.
|
void |
deleteUndoLog(String xid,
long branchId,
Connection conn)
Delete undo log.
|
int |
deleteUndoLogByLogCreated(Date logCreated,
int limitRows,
Connection conn)
delete undolog by created
|
void |
flushUndoLogs(ConnectionProxy cp)
Flush undo logs.
|
boolean |
hasUndoLogTable(Connection conn)
does this resource have undolog table?
|
void |
undo(DataSourceProxy dataSourceProxy,
String xid,
long branchId)
Undo.
|
void flushUndoLogs(ConnectionProxy cp) throws SQLException
cp - the cpSQLException - the sql exceptionvoid undo(DataSourceProxy dataSourceProxy, String xid, long branchId) throws TransactionException
dataSourceProxy - the data source proxyxid - the xidbranchId - the branch idTransactionException - the transaction exceptionvoid deleteUndoLog(String xid, long branchId, Connection conn) throws SQLException
xid - the xidbranchId - the branch idconn - the connSQLException - the sql exceptionvoid batchDeleteUndoLog(Set<String> xids, Set<Long> branchIds, Connection conn) throws SQLException
xids - the xid set collectionsbranchIds - the branch id set collectionsconn - the connectionSQLException - the sql exceptionint deleteUndoLogByLogCreated(Date logCreated, int limitRows, Connection conn) throws SQLException
logCreated - the created timelimitRows - the limit rowsconn - the connectionSQLException - the sql exceptionboolean hasUndoLogTable(Connection conn)
conn - connection of the resourceCopyright © 2022 Seata. All rights reserved.