/** * Drive afterCompletion participants. * * @param myStatus the outcome of the transaction (ActionStatus.COMMITTED or ActionStatus.ABORTED). * * @return true if successful, false otherwise. */ protected boolean afterCompletion (int myStatus) { return afterCompletion(myStatus, false); }
/** * Drive afterCompletion participants. * * @param myStatus the outcome of the transaction (ActionStatus.COMMITTED or ActionStatus.ABORTED). * * @return true if successful, false otherwise. */ protected boolean afterCompletion (int myStatus) { return afterCompletion(myStatus, false); }
/** * Drive afterCompletion participants. * * @param myStatus the outcome of the transaction (ActionStatus.COMMITTED or ActionStatus.ABORTED). * * @return true if successful, false otherwise. */ protected boolean afterCompletion (int myStatus) { return afterCompletion(myStatus, false); }
/** * Drive afterCompletion participants. * * @param myStatus the outcome of the transaction (ActionStatus.COMMITTED or ActionStatus.ABORTED). * * @return true if successful, false otherwise. */ protected boolean afterCompletion (int myStatus) { return afterCompletion(myStatus, false); }
/** * Drive afterCompletion participants. * * @param myStatus the outcome of the transaction (ActionStatus.COMMITTED or ActionStatus.ABORTED). * * @return true if successful, false otherwise. */ protected boolean afterCompletion (int myStatus) { return afterCompletion(myStatus, false); }
/** * Drive afterCompletion participants. * * @param myStatus the outcome of the transaction (ActionStatus.COMMITTED or ActionStatus.ABORTED). * * @return true if successful, false otherwise. */ protected boolean afterCompletion (int myStatus) { return afterCompletion(myStatus, false); }
/** * Drive afterCompletion participants. * * @param myStatus the outcome of the transaction (ActionStatus.COMMITTED or ActionStatus.ABORTED). * * @return true if successful, false otherwise. */ protected boolean afterCompletion (int myStatus) { return afterCompletion(myStatus, false); }
/** * Drive afterCompletion participants. * * @param myStatus the outcome of the transaction (ActionStatus.COMMITTED or ActionStatus.ABORTED). * * @return true if successful, false otherwise. */ protected boolean afterCompletion (int myStatus) { return afterCompletion(myStatus, false); }
/** * Drive afterCompletion participants. * * @param myStatus the outcome of the transaction (ActionStatus.COMMITTED or ActionStatus.ABORTED). * * @return true if successful, false otherwise. */ protected boolean afterCompletion (int myStatus) { return afterCompletion(myStatus, false); }
/** * Drive afterCompletion participants. * * @param myStatus the outcome of the transaction (ActionStatus.COMMITTED or ActionStatus.ABORTED). * * @return true if successful, false otherwise. */ protected boolean afterCompletion (int myStatus) { return afterCompletion(myStatus, false); }
public int cancel () { if (TxControl.enableStatistics) TxStats.incrementApplicationRollbacks(); if (parent() != null) parent().removeChildAction(this); // beforeCompletion(); int outcome = super.Abort(); afterCompletion(outcome); return outcome; }
public int end (boolean report_heuristics) { int outcome; if (parent() != null) parent().removeChildAction(this); if (beforeCompletion()) { outcome = super.End(report_heuristics); } else outcome = super.Abort(); afterCompletion(outcome); return outcome; }
public int cancel () { if (TxStats.enabled()) TxStats.getInstance().incrementApplicationRollbacks(); if (parent() != null) parent().removeChildAction(this); // beforeCompletion(); int outcome = super.Abort(); afterCompletion(outcome); return outcome; }
public int cancel () { if (TxStats.enabled()) TxStats.getInstance().incrementApplicationRollbacks(); if (parent() != null) parent().removeChildAction(this); // beforeCompletion(); int outcome = super.Abort(); afterCompletion(outcome); return outcome; }
public int cancel () { if (TxStats.enabled()) TxStats.getInstance().incrementApplicationRollbacks(); if (parent() != null) parent().removeChildAction(this); // beforeCompletion(); int outcome = super.Abort(); afterCompletion(outcome); return outcome; }
public int cancel () { if (TxStats.enabled()) TxStats.getInstance().incrementApplicationRollbacks(); if (parent() != null) parent().removeChildAction(this); // beforeCompletion(); int outcome = super.Abort(); afterCompletion(outcome); return outcome; }
public int cancel () { if (TxStats.enabled()) TxStats.getInstance().incrementApplicationRollbacks(); if (parent() != null) parent().removeChildAction(this); // beforeCompletion(); int outcome = super.Abort(); afterCompletion(outcome); return outcome; }
public int end (boolean report_heuristics) { int outcome; if (parent() != null) { parent().removeChildAction(this); } boolean canEnd = true; if(status() != ActionStatus.ABORT_ONLY || TxControl.isBeforeCompletionWhenRollbackOnly()) { canEnd = beforeCompletion(); } if (canEnd) { outcome = super.End(report_heuristics); } else outcome = super.Abort(); afterCompletion(outcome, report_heuristics); return outcome; }
public int end (boolean report_heuristics) { int outcome; if (parent() != null) parent().removeChildAction(this); boolean canEnd = true; if(status() != ActionStatus.ABORT_ONLY || TxControl.isBeforeCompletionWhenRollbackOnly()) { canEnd = beforeCompletion(); } if (canEnd) { outcome = super.End(report_heuristics); } else outcome = super.Abort(); afterCompletion(outcome); return outcome; }
public int end (boolean report_heuristics) { int outcome; if (parent() != null) { parent().removeChildAction(this); } boolean canEnd = true; if(status() != ActionStatus.ABORT_ONLY || TxControl.isBeforeCompletionWhenRollbackOnly()) { canEnd = beforeCompletion(); } if (canEnd) { outcome = super.End(report_heuristics); } else outcome = super.Abort(); afterCompletion(outcome, report_heuristics); return outcome; }