Codota Logo
SubordinateATCoordinator.addRecoveredCoordinator
Code IndexAdd Codota to your IDE (free)

How to use
addRecoveredCoordinator
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.addRecoveredCoordinator (Showing top 3 results out of 315)

  • Common ways to obtain SubordinateATCoordinator
private void myMethod () {
SubordinateATCoordinator s =
  • Codota IconString coordinatorId;SubordinateATCoordinator.getRecoveredCoordinator(coordinatorId)
  • Codota IconUid uid;SubordinateATCoordinator.getRecoveredCoordinator(uid.stringForm())
  • Smart code suggestions by Codota
}
origin: org.jboss.jbossts/jbossxts

/**
 * run parent activate and also make this coordinator visible if there might be a durable participant waiting
 * for it to commit.
 * @return
 */
public boolean activate()
{
  boolean result = super.activate();
  
  // if we cannot activate we want the participant which was registered on behalf of this
  // coordinator to produce a heuristic result for the transaction. it will do this if it
  // finds no entry for the coordinate in the subordinate coordinators list. in this case
  // the subordinate transaction record needs to left as is awaiting manual intervention.
  if (result) {
    // record that the activation worked
    setActivated();
    int status = status();
    if (status == ActionStatus.PREPARED || status == ActionStatus.COMMITTING) {
      // we need to install this coordinator in a global table so that the participant which
      // was driving it will know that it has been recovered but not yet committed
      SubordinateATCoordinator.addRecoveredCoordinator(this);
    }
  }
  return result;
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * run parent activate and also make this coordinator visible if there might be a durable participant waiting
 * for it to commit.
 * @return
 */
public boolean activate()
{
  boolean result = super.activate();
  
  // if we cannot activate we want the participant which was registered on behalf of this
  // coordinator to produce a heuristic result for the transaction. it will do this if it
  // finds no entry for the coordinate in the subordinate coordinators list. in this case
  // the subordinate transaction record needs to left as is awaiting manual intervention.
  if (result) {
    // record that the activation worked
    setActivated();
    int status = status();
    if (status == ActionStatus.PREPARED || status == ActionStatus.COMMITTING) {
      // we need to install this coordinator in a global table so that the participant which
      // was driving it will know that it has been recovered but not yet committed
      SubordinateATCoordinator.addRecoveredCoordinator(this);
    }
  }
  return result;
}
origin: org.jboss.jbossts.xts/recovery

/**
 * run parent activate and also make this coordinator visible if there might be a durable participant waiting
 * for it to commit.
 * @return
 */
public boolean activate()
{
  boolean result = super.activate();
  
  // if we cannot activate we want the participant which was registered on behalf of this
  // coordinator to produce a heuristic result for the transaction. it will do this if it
  // finds no entry for the coordinate in the subordinate coordinators list. in this case
  // the subordinate transaction record needs to left as is awaiting manual intervention.
  if (result) {
    // record that the activation worked
    setActivated();
    int status = status();
    if (status == ActionStatus.PREPARED || status == ActionStatus.COMMITTING) {
      // we need to install this coordinator in a global table so that the participant which
      // was driving it will know that it has been recovered but not yet committed
      SubordinateATCoordinator.addRecoveredCoordinator(this);
    }
  }
  return result;
}
com.arjuna.mwlabs.wscf.model.twophase.arjunacore.subordinateSubordinateATCoordinatoraddRecoveredCoordinator

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
  • listRecoveredCoordinators
  • 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
  • activate,
  • addActiveProxy,
  • addCallback,
  • enlistParticipant,
  • enlistSynchronization,
  • error,
  • getDurable2PhaseId,
  • getVolatile2PhaseId,
  • isActivated

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onRequestPermissionsResult (Fragment)
  • getExternalFilesDir (Context)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • Path (java.nio.file)
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now