public class MySQLUndoLogManager extends AbstractUndoLogManager
AbstractUndoLogManager.StateDELETE_UNDO_LOG_SQL, SELECT_UNDO_LOG_SQL, UNDO_LOG_TABLE_NAME| 构造器和说明 |
|---|
MySQLUndoLogManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
deleteUndoLogByLogCreated(Date logCreated,
int limitRows,
Connection conn)
delete undolog by created
|
String |
getDbType()
get db type
|
protected void |
insertUndoLogWithGlobalFinished(String xid,
long branchID,
UndoLogParser parser,
Connection conn)
insert uodo log when global finished
|
protected void |
insertUndoLogWithNormal(String xid,
long branchID,
String rollbackCtx,
byte[] undoLogContent,
Connection conn)
insert uodo log when normal
|
appendInParam, batchDeleteUndoLog, buildContext, canUndo, deleteUndoLog, flushUndoLogs, getCurrentSerializer, parseContext, removeCurrentSerializer, setCurrentSerializer, toBatchDeleteUndoLogSql, undopublic String getDbType()
AbstractUndoLogManagergetDbType 在类中 AbstractUndoLogManagerpublic int deleteUndoLogByLogCreated(Date logCreated, int limitRows, Connection conn) throws SQLException
UndoLogManagerlogCreated - the created timelimitRows - the limit rowsconn - the connectionSQLException - the sql exceptionprotected void insertUndoLogWithNormal(String xid, long branchID, String rollbackCtx, byte[] undoLogContent, Connection conn) throws SQLException
AbstractUndoLogManagerinsertUndoLogWithNormal 在类中 AbstractUndoLogManagerxid - the xidbranchID - the branchIdrollbackCtx - the rollbackContextundoLogContent - the undoLogContentconn - sql connectionSQLExceptionprotected void insertUndoLogWithGlobalFinished(String xid, long branchID, UndoLogParser parser, Connection conn) throws SQLException
AbstractUndoLogManagerinsertUndoLogWithGlobalFinished 在类中 AbstractUndoLogManagerxid - the xidbranchID - the branchIdparser - the undoLogParseconn - sql connectionSQLExceptionCopyright © 2019 Seata. All rights reserved.