@LoadLevel(name="mysql") public class MySQLUndoLogManager extends AbstractUndoLogManager
AbstractUndoLogManager.State| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
DELETE_UNDO_LOG_SQL, ROLLBACK_INFO_COMPRESS_ENABLE, ROLLBACK_INFO_COMPRESS_THRESHOLD, ROLLBACK_INFO_COMPRESS_TYPE, SELECT_UNDO_LOG_SQL, UNDO_LOG_TABLE_NAME| Constructor and Description |
|---|
MySQLUndoLogManager() |
| Modifier and Type | Method and Description |
|---|---|
int |
deleteUndoLogByLogCreated(Date logCreated,
int limitRows,
Connection conn)
delete undolog by created
|
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, buildSelectUndoSql, canUndo, deleteUndoLog, flushUndoLogs, getCheckUndoLogTableExistSql, getCurrentSerializer, getRollbackInfo, hasUndoLogTable, needCompress, parseContext, removeCurrentSerializer, setCurrentSerializer, toBatchDeleteUndoLogSql, undopublic 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 in class AbstractUndoLogManagerxid - the xidbranchId - the branchIdrollbackCtx - the rollbackContextundoLogContent - the undoLogContentconn - sql connectionSQLException - SQLExceptionprotected void insertUndoLogWithGlobalFinished(String xid, long branchId, UndoLogParser parser, Connection conn) throws SQLException
AbstractUndoLogManagerinsertUndoLogWithGlobalFinished in class AbstractUndoLogManagerxid - the xidbranchId - the branchIdparser - the undoLogParseconn - sql connectionSQLException - SQLExceptionCopyright © 2024 Apache. All rights reserved.