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 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; }
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, 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, 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, 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, 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, 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, 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, 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, report_heuristics); return outcome; }
problem = !super.beforeCompletion();