@LoadLevel(name="sqlserver") public class SqlServerUndoLogManager extends AbstractUndoLogManager
AbstractUndoLogManager.StateDELETE_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 |
|---|
SqlServerUndoLogManager() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildSelectUndoSql()
Construct a lock query sql
|
int |
deleteUndoLogByLogCreated(Date logCreated,
int limitRows,
Connection conn)
delete undolog by created
|
protected String |
getCheckUndoLogTableExistSql() |
protected void |
insertUndoLogWithGlobalFinished(String xid,
long branchId,
UndoLogParser undoLogParser,
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, getRollbackInfo, hasUndoLogTable, needCompress, parseContext, removeCurrentSerializer, setCurrentSerializer, toBatchDeleteUndoLogSql, undoprotected void insertUndoLogWithGlobalFinished(String xid, long branchId, UndoLogParser undoLogParser, Connection conn) throws SQLException
AbstractUndoLogManagerinsertUndoLogWithGlobalFinished in class AbstractUndoLogManagerxid - the xidbranchId - the branchIdundoLogParser - the undoLogParseconn - sql connectionSQLException - SQLExceptionprotected 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 - SQLExceptionpublic int deleteUndoLogByLogCreated(Date logCreated, int limitRows, Connection conn) throws SQLException
UndoLogManagerlogCreated - the created timelimitRows - the limit rowsconn - the connectionSQLException - the sql exceptionprotected String buildSelectUndoSql()
AbstractUndoLogManagerbuildSelectUndoSql in class AbstractUndoLogManagerprotected String getCheckUndoLogTableExistSql()
getCheckUndoLogTableExistSql in class AbstractUndoLogManagerCopyright © 2024 Apache. All rights reserved.