Package org.frankframework.jta.narayana
Class HeuristicDetectingRecoveryModule
java.lang.Object
org.frankframework.jta.narayana.HeuristicDetectingRecoveryModule
- All Implemented Interfaces:
com.arjuna.ats.arjuna.recovery.RecoveryModule
public class HeuristicDetectingRecoveryModule
extends Object
implements com.arjuna.ats.arjuna.recovery.RecoveryModule
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHeuristicDetectingRecoveryModule(com.arjuna.ats.arjuna.objectstore.RecoveryStore recoveryStore, com.arjuna.ats.arjuna.recovery.TransactionStatusConnectionManager statusManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected static DurationcalculateHeuristicFailuresBackoffDuration(int heuristicFailuresAttempts, String heuristicFailuresBackoff, int defaultTxTimeout) protected List<com.arjuna.ats.arjuna.common.Uid> Compiles a list of all Uids that are 'stuck'.voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.arjuna.ats.arjuna.recovery.RecoveryModule
hasWorkLeftToDo
-
Constructor Details
-
HeuristicDetectingRecoveryModule
public HeuristicDetectingRecoveryModule() -
HeuristicDetectingRecoveryModule
protected HeuristicDetectingRecoveryModule(com.arjuna.ats.arjuna.objectstore.RecoveryStore recoveryStore, com.arjuna.ats.arjuna.recovery.TransactionStatusConnectionManager statusManager)
-
-
Method Details
-
calculateHeuristicFailuresBackoffDuration
-
periodicWorkFirstPass
public void periodicWorkFirstPass()- Specified by:
periodicWorkFirstPassin interfacecom.arjuna.ats.arjuna.recovery.RecoveryModule
-
getStuckUids
Compiles a list of all Uids that are 'stuck'. -
periodicWorkSecondPass
public void periodicWorkSecondPass()- Specified by:
periodicWorkSecondPassin interfacecom.arjuna.ats.arjuna.recovery.RecoveryModule
-