@LoadLevel(name="mariadb") public class MariadbUndoLogManager extends MySQLUndoLogManager
AbstractUndoLogManager.StateloggerDELETE_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 |
|---|
MariadbUndoLogManager() |
| 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
UndoLogManagerdeleteUndoLogByLogCreated in interface UndoLogManagerdeleteUndoLogByLogCreated in class MySQLUndoLogManagerlogCreated - 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 MySQLUndoLogManagerxid - 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 MySQLUndoLogManagerxid - the xidbranchId - the branchIdparser - the undoLogParseconn - sql connectionSQLException - SQLExceptionCopyright © 2024 Apache. All rights reserved.