Class OutboundBridgeRecoveryManager
java.lang.Object
org.jboss.jbossts.txbridge.outbound.OutboundBridgeRecoveryManager
- All Implemented Interfaces:
RecoveryModule
Integrates with JBossAS MC lifecycle and JBossTS recovery manager to provide
recovery services for outbound bridged transactions.
- Author:
- jonathan.halliday@redhat.com, 2010-03-05
-
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 passvoid
start()
MC lifecycle callback, used to register components with the recovery manager.void
stop()
MC lifecycle callback, used to unregister components from the recovery manager.Methods 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
-
OutboundBridgeRecoveryManager
public OutboundBridgeRecoveryManager()
-
-
Method Details
-
start
public void start()MC lifecycle callback, used to register components with the recovery manager. -
stop
public void stop()MC lifecycle callback, used to unregister components from the recovery manager. -
periodicWorkFirstPass
public void periodicWorkFirstPass()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()Called by the RecoveryManager RECOVERY_BACKOFF_PERIOD seconds after the completion of the first pass- Specified by:
periodicWorkSecondPass
in interfaceRecoveryModule
-