java.lang.Object
java.lang.Thread
com.arjuna.ats.internal.jts.recovery.recoverycoordinators.ResourceCompletor
All Implemented Interfaces:
Runnable

public class ResourceCompletor extends Thread
Threaded object used to terminate a prepared Resource after a failure. Normally failed resources are terminated by replaying the transaction in which the Resource was participating. However, if the transaction rolled back then we won't have any persistent record of the transaction so it can't be reactivated. Resources (and subordinate coordinators) may use the replay_completion response to trigger their own rollback.
  • Field Details

  • Constructor Details

    • ResourceCompletor

      public ResourceCompletor(Resource res, int action)
  • Method Details

    • run

      public final void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread