Class ATParticipantRecoveryModule
java.lang.Object
org.jboss.jbossts.xts.recovery.participant.at.ATParticipantRecoveryModule
- All Implemented Interfaces:
RecoveryModule
,XTSRecoveryModule
This class is a plug-in module for the recovery manager.
It is responsible for recovering XTS AT participants.
(instances of org.jboss.jbossts.xts.recovery.participant.at.ATParticipantRecoveryRecord)
$Id$
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
install()
called by the service startup code before the recovery module is added to the recovery managers module listvoid
This is called periodically by the RecoveryManagervoid
Called by the RecoveryManager RECOVERY_BACKOFF_PERIOD seconds after the completion of the first passvoid
called by the service shutdown code after the recovery module is removed from the recovery managers module listMethods 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
-
ATParticipantRecoveryModule
public ATParticipantRecoveryModule()
-
-
Method Details
-
install
public void install()called by the service startup code before the recovery module is added to the recovery managers module list- Specified by:
install
in interfaceXTSRecoveryModule
-
uninstall
public void uninstall()called by the service shutdown code after the recovery module is removed from the recovery managers module list- Specified by:
uninstall
in interfaceXTSRecoveryModule
-
periodicWorkFirstPass
public void periodicWorkFirstPass()This is called periodically by the RecoveryManager- 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
-