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

How to use
listRecoveredCoordinators
method
in
com.arjuna.mwlabs.wscf.model.twophase.arjunacore.subordinate.SubordinateATCoordinator

Best Java code snippets using com.arjuna.mwlabs.wscf.model.twophase.arjunacore.subordinate.SubordinateATCoordinator.listRecoveredCoordinators (Showing top 4 results out of 315)

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 || !(subordinateCoordinatorRecoveryStarted && participantRecoveryStarted)) {
    return;
  }
  culledOrphanSubordinates = true;
  SubordinateATCoordinator[] coordinators = SubordinateATCoordinator.listRecoveredCoordinators();
  for (SubordinateATCoordinator coordinator : coordinators) {
    if (coordinator.getSubordinateType().equals(SubordinateATCoordinator.SUBORDINATE_TX_TYPE_AT_AT) && coordinator.isOrphaned()) {
      RecoveryLogger.i18NLogger.warn_participant_at_XTSATRecoveryModule_5(coordinator.get_uid());
      coordinator.rollback();
    }
  }
}

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 || !(subordinateCoordinatorRecoveryStarted && participantRecoveryStarted)) {
    return;
  }
  culledOrphanSubordinates = true;
  SubordinateATCoordinator[] coordinators = SubordinateATCoordinator.listRecoveredCoordinators();
  for (SubordinateATCoordinator coordinator : coordinators) {
    if (coordinator.getSubordinateType().equals(SubordinateATCoordinator.SUBORDINATE_TX_TYPE_AT_AT) && coordinator.isOrphaned()) {
      RecoveryLogger.i18NLogger.warn_participant_at_XTSATRecoveryModule_5(coordinator.get_uid());
      coordinator.rollback();
    }
  }
}

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 || !(subordinateCoordinatorRecoveryStarted && participantRecoveryStarted)) {
    return;
  }
  culledOrphanSubordinates = true;
  SubordinateATCoordinator[] coordinators = SubordinateATCoordinator.listRecoveredCoordinators();
  for (SubordinateATCoordinator coordinator : coordinators) {
    if (coordinator.getSubordinateType().equals(SubordinateATCoordinator.SUBORDINATE_TX_TYPE_AT_AT) && coordinator.isOrphaned()) {
      RecoveryLogger.i18NLogger.warn_participant_at_XTSATRecoveryModule_5(coordinator.get_uid());
      coordinator.rollback();
    }
  }
}

origin: org.jboss.jbossts/jbossxts-api

SubordinateATCoordinator[] coordinators = SubordinateATCoordinator.listRecoveredCoordinators();
int count = 0;
com.arjuna.mwlabs.wscf.model.twophase.arjunacore.subordinateSubordinateATCoordinatorlistRecoveredCoordinators

Popular methods of SubordinateATCoordinator

  • get_uid
  • getRecoveredCoordinator
  • rollback
    this is driven by a durable participant registered on behalf of the coordinator and does a normal co
  • commit
    this is driven by a durable participant registered on behalf of the coordinator and does a normal co
  • commitVolatile
    this is driven by a volatile participant registered on behalf of the coordinator
  • getSubordinateType
  • prepare
    this is driven by a durable participant registered on behalf of the coordinator and does a normal pr
  • prepareVolatile
    this is driven by a volatile participant registered on behalf of the coordinator
  • rollbackVolatile
    this is driven by a volatile participant registered on behalf of the coordinator
  • activate
  • addActiveProxy
  • addCallback
    register a callback to be called when a subordinate transaction with a specific key executes a commi
  • addActiveProxy,
  • addCallback,
  • addRecoveredCoordinator,
  • enlistParticipant,
  • enlistSynchronization,
  • error,
  • getDurable2PhaseId,
  • getVolatile2PhaseId,
  • isActivated

Popular in Java

  • Reactive rest calls using spring rest template
  • putExtra (Intent)
  • getResourceAsStream (ClassLoader)
  • compareTo (BigDecimal)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • JList (javax.swing)
  • Best plugins for Eclipse
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