AbstractRecoveryLog.java の 46 行で定義されています。
Public メソッド | |
abstract void | logRequest (AbstractWriteRequest request) throws SQLException |
abstract void | logRequest (StoredProcedure proc, boolean isRead) throws SQLException |
abstract long | getLastTransactionId () throws SQLException |
abstract void | begin (TransactionMarkerMetaData tm) throws SQLException |
abstract void | commit (TransactionMarkerMetaData tm) throws SQLException |
abstract void | rollback (TransactionMarkerMetaData tm) throws SQLException |
abstract void | storeCheckpoint (String checkpointName) throws SQLException |
abstract void | storeCheckpoint (String checkpointName, long requestId) throws SQLException |
abstract void | removeCheckpoint (String checkpointName) throws SQLException |
abstract long | getCheckpointRequestId (String checkpointName) throws SQLException |
abstract RecoveryTask | recoverNextRequest (long previousRequestId) throws SQLException |
synchronized void | beginRecovery () |
synchronized void | endRecovery () |
synchronized boolean | isRecovering () |
abstract void | cleanRecoveryLog () throws SQLException |
String | getXml () |
abstract String | getXmlImpl () |
abstract ArrayList | getCheckpointNames () throws SQLException |
abstract void | storeBackendCheckpoint (String databaseName, String backendName, String checkpoint) throws SQLException |
abstract String | getBackendCheckpoint (String databaseName, String backendName) throws SQLException |
スタティック変数 | |
Trace | logger |
Private 変数 | |
long | recoveringNb = 0 |
|
Log the beginning of a new transaction.
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLogを実装しています. 参照元 org.objectweb.cjdbc.controller.requestmanager.distributed.DistributedRequestManager.begin(). |
|
Notify the recovery log that a recovery process has started. AbstractRecoveryLog.java の 174 行で定義されています。 参照先 org.objectweb.cjdbc.controller.recoverylog.AbstractRecoveryLog.recoveringNb.
00176 { 00177 recoveringNb++; 00178 } |
|
Possibly clean the recovery log after all recovery process are done.
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLogを実装しています. 参照元 org.objectweb.cjdbc.controller.recoverylog.AbstractRecoveryLog.endRecovery(). |
|
Log a transaction commit.
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLogを実装しています. |
|
Notify the recovery log that a recovery process has finished. If this is the last recovery process to finish, the cleanRecoveryLog method is called
AbstractRecoveryLog.java の 186 行で定義されています。 参照先 org.objectweb.cjdbc.controller.recoverylog.AbstractRecoveryLog.cleanRecoveryLog(), org.objectweb.cjdbc.common.log.Trace.error(), と org.objectweb.cjdbc.controller.recoverylog.AbstractRecoveryLog.recoveringNb.
00187 { 00188 recoveringNb--; 00189 if (recoveringNb == 0) 00190 { 00191 try 00192 { 00193 cleanRecoveryLog(); 00194 } 00195 catch (SQLException e) 00196 { 00197 logger.error(Translate.get("recovery.cleaning.failed", e)); 00198 } 00199 } 00200 } |
|
Retrieve the last known checkpoint for the backend on this database from the recoverylog data
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLogを実装しています. |
|
Returns an array of names of all the checkpoint available in the recovery log
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLogを実装しています. 参照元 org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabase.viewCheckpointNames(). |
|
Get the request id corresponding to a given checkpoint. This is the first step in a recovery process. Following steps consist in calling recoverNextRequest.
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLogを実装しています. |
|
Get the id of the last transaction logged in the recovery log.
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLogを実装しています. |
|
Get xml information of the current recovery load in the system.
AbstractRecoveryLog.java の 225 行で定義されています。 参照先 org.objectweb.cjdbc.controller.recoverylog.AbstractRecoveryLog.getXmlImpl().
00227 { 00228 StringBuffer info = new StringBuffer(); 00229 info.append("<" + DatabasesXmlTags.ELT_RecoveryLog + ">"); 00230 info.append(getXmlImpl()); 00231 info.append("</" + DatabasesXmlTags.ELT_RecoveryLog + ">"); 00232 return info.toString(); 00233 } |
|
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLogを実装しています. 参照元 org.objectweb.cjdbc.controller.recoverylog.AbstractRecoveryLog.getXml(). |
|
Returns
AbstractRecoveryLog.java の 208 行で定義されています。 参照先 org.objectweb.cjdbc.controller.recoverylog.AbstractRecoveryLog.recoveringNb.
00209 { 00210 return recoveringNb > 0; 00211 } |
|
Log a call to a stored procedure.
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLogを実装しています. |
|
Log a write request.
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLogを実装しています. |
|
Get the next request (begin/commit/rollback or WriteRequest) from the recovery log given the id of the previously recovered request. The id of the request before the first one to recover is given by getCheckpointRequestId.
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLogを実装しています. |
|
Remove a checkpoint from the recovery. This is useful for recovery maintenant
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLogを実装しています. |
|
Log a transaction rollback.
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLogを実装しています. |
|
Store the state of the backend in the recovery log
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLogを実装しています. |
|
Store a Checkpoint using the given request id.
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLogを実装しています. |
|
Store a Checkpoint using the current log state.
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLogを実装しています. |
|
初期値: Trace
.getLogger("org.objectweb.cjdbc.controller.recoverylog")
AbstractRecoveryLog.java の 49 行で定義されています。 |
|