/** * Perform a nested one phase commit. * * @return <code>TwoPhaseOutcome</code> to indicate success/failure. * @see com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome */ public int nestedOnePhaseCommit () { int res = nestedPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_OK: return nestedCommit(); case TwoPhaseOutcome.PREPARE_READONLY: return TwoPhaseOutcome.FINISH_OK; default: return TwoPhaseOutcome.FINISH_ERROR; } }
/** * Perform a nested one phase commit. * * @return <code>TwoPhaseOutcome</code> to indicate success/failure. * @see com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome */ public int nestedOnePhaseCommit () { int res = nestedPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_OK: return nestedCommit(); case TwoPhaseOutcome.PREPARE_READONLY: return TwoPhaseOutcome.FINISH_OK; default: return TwoPhaseOutcome.FINISH_ERROR; } }
/** * Perform a nested one phase commit. * * @return <code>TwoPhaseOutcome</code> to indicate success/failure. * @see com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome */ public int nestedOnePhaseCommit () { int res = nestedPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_OK: return nestedCommit(); case TwoPhaseOutcome.PREPARE_READONLY: return TwoPhaseOutcome.FINISH_OK; default: return TwoPhaseOutcome.FINISH_ERROR; } }
/** * Perform a nested one phase commit. * * @return <code>TwoPhaseOutcome</code> to indicate success/failure. * @see com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome */ public int nestedOnePhaseCommit () { int res = nestedPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_OK: return nestedCommit(); case TwoPhaseOutcome.PREPARE_READONLY: return TwoPhaseOutcome.FINISH_OK; default: return TwoPhaseOutcome.FINISH_ERROR; } }
/** * Perform a nested one phase commit. * * @return <code>TwoPhaseOutcome</code> to indicate success/failure. * @see com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome */ public int nestedOnePhaseCommit () { int res = nestedPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_OK: return nestedCommit(); case TwoPhaseOutcome.PREPARE_READONLY: return TwoPhaseOutcome.FINISH_OK; default: return TwoPhaseOutcome.FINISH_ERROR; } }
/** * Perform a nested one phase commit. * * @return <code>TwoPhaseOutcome</code> to indicate success/failure. * @see com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome */ public int nestedOnePhaseCommit () { int res = nestedPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_OK: return nestedCommit(); case TwoPhaseOutcome.PREPARE_READONLY: return TwoPhaseOutcome.FINISH_OK; default: return TwoPhaseOutcome.FINISH_ERROR; } }
/** * Perform a nested one phase commit. * * @return <code>TwoPhaseOutcome</code> to indicate success/failure. * @see com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome */ public int nestedOnePhaseCommit () { int res = nestedPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_OK: return nestedCommit(); case TwoPhaseOutcome.PREPARE_READONLY: return TwoPhaseOutcome.FINISH_OK; default: return TwoPhaseOutcome.FINISH_ERROR; } }
/** * Perform a nested one phase commit. * * @return <code>TwoPhaseOutcome</code> to indicate success/failure. * @see com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome */ public int nestedOnePhaseCommit () { int res = nestedPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_OK: return nestedCommit(); case TwoPhaseOutcome.PREPARE_READONLY: return TwoPhaseOutcome.FINISH_OK; default: return TwoPhaseOutcome.FINISH_ERROR; } }
/** * Perform a nested one phase commit. * * @return <code>TwoPhaseOutcome</code> to indicate success/failure. * @see com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome */ public int nestedOnePhaseCommit () { int res = nestedPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_OK: return nestedCommit(); case TwoPhaseOutcome.PREPARE_READONLY: return TwoPhaseOutcome.FINISH_OK; default: return TwoPhaseOutcome.FINISH_ERROR; } }
/** * Perform a nested one phase commit. * * @return <code>TwoPhaseOutcome</code> to indicate success/failure. * @see com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome */ public int nestedOnePhaseCommit () { int res = nestedPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_OK: return nestedCommit(); case TwoPhaseOutcome.PREPARE_READONLY: return TwoPhaseOutcome.FINISH_OK; default: return TwoPhaseOutcome.FINISH_ERROR; } }
/** * Perform a nested one phase commit. * * @return <code>TwoPhaseOutcome</code> to indicate success/failure. * @see com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome */ public int nestedOnePhaseCommit () { int res = nestedPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_OK: return nestedCommit(); case TwoPhaseOutcome.PREPARE_READONLY: return TwoPhaseOutcome.FINISH_OK; default: return TwoPhaseOutcome.FINISH_ERROR; } }
ok = recordBeingHandled.nestedCommit();
ok = recordBeingHandled.nestedCommit();
ok = recordBeingHandled.nestedCommit();
ok = recordBeingHandled.nestedCommit();
ok = recordBeingHandled.nestedCommit();
ok = recordBeingHandled.nestedCommit();
ok = recordBeingHandled.nestedCommit();
ok = recordBeingHandled.nestedCommit();
ok = recordBeingHandled.nestedCommit();