congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
SubordinateBACoordinator.removeRecoveredCoordinator
Code IndexAdd Tabnine to your IDE (free)

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

origin: org.jboss.jbossts/jbossxts

/**
 * this is driven by a coordinator-completion participant registered on behalf of the coordinator
 * and is required to propagate the cancel to all registered participants.
 */
public int cancel ()
{
  int status = status();
  int result;
  // TODO -- check if there is a window here where status could change to COMMITTING
  if (status == ActionStatus.COMMITTING) {
    phase2Abort(true);
    result = status();
  } else {
    result = super.cancel();
  }
  SubordinateBACoordinator.removeRecoveredCoordinator(this);
  // run any callback associated with this transaction
  runCallback(get_uid().stringForm());
  return result;
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * this is driven by a coordinator-completion participant registered on behalf of the coordinator
 * and is required to propagate the cancel to all registered participants.
 */
public int cancel ()
{
  int status = status();
  int result;
  // TODO -- check if there is a window here where status could change to COMMITTING
  if (status == ActionStatus.COMMITTING) {
    phase2Abort(true);
    result = status();
  } else {
    result = super.cancel();
  }
  SubordinateBACoordinator.removeRecoveredCoordinator(this);
  // run any callback associated with this transaction
  runCallback(get_uid().stringForm());
  return result;
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * this is driven by a coordinator-completion participant registered on behalf of the coordinator
 * and is required to propagate the close to all registered participants.
 */
public int close () throws SystemException
{
  int status = status();
  int result;
  if (status == ActionStatus.COMMITTING) {
    // TODO -- need to do completion processing here?
    // we already completed and ran phase 1 so do a phase 2 commit
    phase2Commit(true);
    result = status();
  } else {
    // we have not yet completed so we can rely upon the parent implementation to do
    // everything we need
    result = super.close();
  }
  // if we have completed then remove the coordinator from the recovered coordinators table
  if (status() != ActionStatus.COMMITTING) {
    SubordinateBACoordinator.removeRecoveredCoordinator(this);
  }
  // run any callback associated with this transaction
  runCallback(get_uid().stringForm());
  return result;
}
origin: org.jboss.jbossts/jbossxts

/**
 * this is driven by a coordinator-completion participant registered on behalf of the coordinator
 * and is required to propagate the close to all registered participants.
 */
public int close () throws SystemException
{
  int status = status();
  int result;
  if (status == ActionStatus.COMMITTING) {
    // TODO -- need to do completion processing here?
    // we already completed and ran phase 1 so do a phase 2 commit
    phase2Commit(true);
    result = status();
  } else {
    // we have not yet completed so we can rely upon the parent implementation to do
    // everything we need
    result = super.close();
  }
  // if we have completed then remove the coordinator from the recovered coordinators table
  if (status() != ActionStatus.COMMITTING) {
    SubordinateBACoordinator.removeRecoveredCoordinator(this);
  }
  // run any callback associated with this transaction
  runCallback(get_uid().stringForm());
  return result;
}
origin: org.jboss.jbossts/jbossxts

SubordinateBACoordinator.removeRecoveredCoordinator(this);
origin: org.jboss.jbossts.xts/jbossxts

SubordinateBACoordinator.removeRecoveredCoordinator(this);
origin: org.jboss.jbossts.xts/recovery

SubordinateBACoordinator.removeRecoveredCoordinator(this);
com.arjuna.mwlabs.wscf.model.sagas.arjunacore.subordinateSubordinateBACoordinatorremoveRecoveredCoordinator

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,
  • listRecoveredCoordinators,
  • participantCannotComplete,
  • participantCompleted,
  • participantFaulted,
  • phase2Abort,
  • removeActiveProxy

Popular in Java

  • Reactive rest calls using spring rest template
  • addToBackStack (FragmentTransaction)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • findViewById (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • ImageIO (javax.imageio)
  • JFrame (javax.swing)
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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