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 Details

    • HeuristicDetectingRecoveryModule

      public HeuristicDetectingRecoveryModule()
    • HeuristicDetectingRecoveryModule

      protected HeuristicDetectingRecoveryModule(com.arjuna.ats.arjuna.objectstore.RecoveryStore recoveryStore, com.arjuna.ats.arjuna.recovery.TransactionStatusConnectionManager statusManager)
  • Method Details

    • calculateHeuristicFailuresBackoffDuration

      protected static Duration calculateHeuristicFailuresBackoffDuration(int heuristicFailuresAttempts, String heuristicFailuresBackoff, int defaultTxTimeout)
    • periodicWorkFirstPass

      public void periodicWorkFirstPass()
      Specified by:
      periodicWorkFirstPass in interface com.arjuna.ats.arjuna.recovery.RecoveryModule
    • getStuckUids

      protected List<com.arjuna.ats.arjuna.common.Uid> getStuckUids()
      Compiles a list of all Uids that are 'stuck'.
    • periodicWorkSecondPass

      public void periodicWorkSecondPass()
      Specified by:
      periodicWorkSecondPass in interface com.arjuna.ats.arjuna.recovery.RecoveryModule