Tabnine Logo
SubordinateBACoordinator.listRecoveredCoordinators
Code IndexAdd Tabnine to your IDE (free)

How to use
listRecoveredCoordinators
method
in
com.arjuna.mwlabs.wscf.model.sagas.arjunacore.subordinate.SubordinateBACoordinator

Best Java code snippets using com.arjuna.mwlabs.wscf.model.sagas.arjunacore.subordinate.SubordinateBACoordinator.listRecoveredCoordinators (Showing top 3 results out of 315)

origin: org.jboss.jbossts/jbossxts

/**
 * look for recovered subordinate transactions which do not have an associated proxy participant
 * rolling back any that are found. this only needs doing once after the first participant and
 * subordinate transaction recovery passes have both completed
 */
private void cullOrphanedSubordinates()
{
  if (culledOrphanSubordinates || !(subordinateCoordinateRecoveryStarted && participantRecoveryStarted)) {
    return;
  }
  culledOrphanSubordinates = true;
  SubordinateBACoordinator[] coordinators = SubordinateBACoordinator.listRecoveredCoordinators();
  for (SubordinateBACoordinator coordinator : coordinators) {
    if (coordinator.isOrphaned()) {
      RecoveryLogger.i18NLogger.warn_participant_ba_XTSBARecoveryModule_5(coordinator.get_uid());
      coordinator.cancel();
    }
  }
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * look for recovered subordinate transactions which do not have an associated proxy participant
 * rolling back any that are found. this only needs doing once after the first participant and
 * subordinate transaction recovery passes have both completed
 */
private void cullOrphanedSubordinates()
{
  if (culledOrphanSubordinates || !(subordinateCoordinateRecoveryStarted && participantRecoveryStarted)) {
    return;
  }
  culledOrphanSubordinates = true;
  SubordinateBACoordinator[] coordinators = SubordinateBACoordinator.listRecoveredCoordinators();
  for (SubordinateBACoordinator coordinator : coordinators) {
    if (coordinator.isOrphaned()) {
      RecoveryLogger.i18NLogger.warn_participant_ba_XTSBARecoveryModule_5(coordinator.get_uid());
      coordinator.cancel();
    }
  }
}
origin: org.jboss.jbossts.xts/recovery

/**
 * look for recovered subordinate transactions which do not have an associated proxy participant
 * rolling back any that are found. this only needs doing once after the first participant and
 * subordinate transaction recovery passes have both completed
 */
private void cullOrphanedSubordinates()
{
  if (culledOrphanSubordinates || !(subordinateCoordinateRecoveryStarted && participantRecoveryStarted)) {
    return;
  }
  culledOrphanSubordinates = true;
  SubordinateBACoordinator[] coordinators = SubordinateBACoordinator.listRecoveredCoordinators();
  for (SubordinateBACoordinator coordinator : coordinators) {
    if (coordinator.isOrphaned()) {
      RecoveryLogger.i18NLogger.warn_participant_ba_XTSBARecoveryModule_5(coordinator.get_uid());
      coordinator.cancel();
    }
  }
}
com.arjuna.mwlabs.wscf.model.sagas.arjunacore.subordinateSubordinateBACoordinatorlistRecoveredCoordinators

Popular methods of SubordinateBACoordinator

  • get_uid
  • cancel
    this is driven by a coordinator-completion participant registered on behalf of the coordinator and i
  • getRecoveredCoordinator
  • activate
  • addActiveProxy
  • addCallback
    register a callback to be called when a subordinate transaction with a specific key executes a commi
  • addRecoveredCoordinator
  • close
    this is driven by a coordinator-completion participant registered on behalf of the coordinator and i
  • complete
    this is driven by a coordinator-completion participant registered on behalf of the coordinator and i
  • delistParticipant
  • enlistParticipant
  • getCoordinatorCompletionParticipantid
    return a uid for the corodinator completion participant registered on behalf of this coordinator
  • enlistParticipant,
  • getCoordinatorCompletionParticipantid,
  • isActivated,
  • isOrphaned,
  • participantCannotComplete,
  • participantCompleted,
  • participantFaulted,
  • phase2Abort,
  • removeActiveProxy

Popular in Java

  • Running tasks concurrently on multiple threads
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setScale (BigDecimal)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JFrame (javax.swing)
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now