Class TopLevelTransactionRecoveryModule
java.lang.Object
com.arjuna.ats.internal.jts.recovery.transactions.TransactionRecoveryModule
com.arjuna.ats.internal.jts.recovery.transactions.TopLevelTransactionRecoveryModule
- All Implemented Interfaces:
RecoveryModule
public class TopLevelTransactionRecoveryModule
extends TransactionRecoveryModule
implements RecoveryModule
This class is a plug-in module for the recovery manager.
It is responsible for the recovery of server transactions
-
Field Summary
Fields inherited from class com.arjuna.ats.internal.jts.recovery.transactions.TransactionRecoveryModule
_recoveryStore, _transactionType, _transactionUidVector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Set-up routinevoid
This is called periodically by the RecoveryManagervoid
Called by the RecoveryManager RECOVERY_BACKOFF_PERIOD seconds after the completion of the first passMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.arjuna.ats.arjuna.recovery.RecoveryModule
hasWorkLeftToDo
-
Constructor Details
-
TopLevelTransactionRecoveryModule
public TopLevelTransactionRecoveryModule()
-
-
Method Details
-
periodicWorkFirstPass
public void periodicWorkFirstPass()This is called periodically by the RecoveryManager- Specified by:
periodicWorkFirstPass
in interfaceRecoveryModule
- Overrides:
periodicWorkFirstPass
in classTransactionRecoveryModule
-
periodicWorkSecondPass
public void periodicWorkSecondPass()Description copied from interface:RecoveryModule
Called by the RecoveryManager RECOVERY_BACKOFF_PERIOD seconds after the completion of the first pass- Specified by:
periodicWorkSecondPass
in interfaceRecoveryModule
- Overrides:
periodicWorkSecondPass
in classTransactionRecoveryModule
-
initialise
protected void initialise()Set-up routine- Overrides:
initialise
in classTransactionRecoveryModule
-