Class JCAServerTransactionRecoveryModule
java.lang.Object
com.arjuna.ats.internal.jta.recovery.jts.JCAServerTransactionRecoveryModule
- All Implemented Interfaces:
RecoveryModule
This class is purely used by the recovery system to load the transactions into memory so we can be sure
that bottom-up recovery could find a serverControl if the EIS has not called XATerminator::recover yet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called by the RecoveryManager at start up, and then PERIODIC_RECOVERY_PERIOD seconds after the completion, for all RecoveryModules, of the second passvoid
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
-
JCAServerTransactionRecoveryModule
public JCAServerTransactionRecoveryModule()
-
-
Method Details
-
periodicWorkFirstPass
public void periodicWorkFirstPass()Description copied from interface:RecoveryModule
Called by the RecoveryManager at start up, and then PERIODIC_RECOVERY_PERIOD seconds after the completion, for all RecoveryModules, of the second pass- Specified by:
periodicWorkFirstPass
in interfaceRecoveryModule
-
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
-