public void commit () throws SystemException, NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("ServerOSITopLevelAction::commit for " + _theUid); } OTIDMap.remove(get_uid()); super.commit(); }
public void rollback_subtransaction () throws SystemException { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("ServerOSINestedAction::rollback_subtransaction :" + _theUid); } OTIDMap.remove(get_uid()); super.rollback_subtransaction(); }
ctx.timeout); action = new ServerOSITopLevelAction(control, ((depth == 0) ? true : false)); ((ServerOSITopLevelAction) action).rollback(); // does dispose as well! action = null; tmpCoord, tmpTerm, control); nestedAction = new ServerOSINestedAction(control, false); // not current, so don't register ((ServerOSINestedAction) nestedAction).rollback_subtransaction(); // does dispose as well! nestedAction = null; tmpCoord, tmpTerm, control); nestedAction = new ServerOSINestedAction(control, true); // current, so register ((ServerOSINestedAction) nestedAction).rollback_subtransaction(); // does dispose as well! nestedAction = null;
tx.interposeResource(); control = tx.control(); // top-level transaction's control tmpCoord, tmpTerm, control); nestedAction = new ServerOSINestedAction(control, false); ((ServerOSINestedAction) nestedAction).rollback(); // does dispose as well! nestedAction = null; nestedAction = new ServerOSINestedAction(control, true); ((ServerOSINestedAction) nestedAction).rollback(); // does dispose as well! nestedAction = null;
tx.interposeResource(); control = tx.control(); // top-level transaction's control tmpCoord, tmpTerm, control); nestedAction = new ServerOSINestedAction(control, false); ((ServerOSINestedAction) nestedAction).rollback(); // does dispose as well! nestedAction = null; nestedAction = new ServerOSINestedAction(control, true); ((ServerOSINestedAction) nestedAction).rollback(); // does dispose as well! nestedAction = null;
ctx.timeout); action = new ServerOSITopLevelAction(control, ((depth == 0) ? true : false)); ((ServerOSITopLevelAction) action).rollback(); // does dispose as well! action = null; tmpCoord, tmpTerm, control); nestedAction = new ServerOSINestedAction(control, false); // not current, so don't register ((ServerOSINestedAction) nestedAction).rollback_subtransaction(); // does dispose as well! nestedAction = null; tmpCoord, tmpTerm, control); nestedAction = new ServerOSINestedAction(control, true); // current, so register ((ServerOSINestedAction) nestedAction).rollback_subtransaction(); // does dispose as well! nestedAction = null;
public void rollback () throws SystemException, HeuristicCommit, HeuristicMixed, HeuristicHazard { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("ServerOSITopLevelAction::rollback for " + _theUid); } OTIDMap.remove(get_uid()); super.rollback(); }
public void commit_subtransaction (Coordinator parent) throws SystemException { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("ServerOSINestedAction::commit_subtransaction :" + _theUid); } /* * First remove entry for this transaction otid * from map. Have to do it here as we are going * to be deleted by the base class! */ OTIDMap.remove(get_uid()); super.commit_subtransaction(parent); }
public void forget () throws SystemException { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("ServerOSITopLevelAction::forget for " + _theUid); } OTIDMap.remove(get_uid()); super.forget(); }
public void rollback_subtransaction () throws SystemException { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.CONSTRUCTORS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "ServerOSINestedAction::rollback_subtransaction :"+_theUid); } OTIDMap.remove(get_uid()); super.rollback_subtransaction(); }
public void commit_one_phase () throws HeuristicHazard, SystemException { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("ServerOSITopLevelAction::commit_one_phase for " + _theUid); } OTIDMap.remove(get_uid()); super.commit_one_phase(); }
public void commit_subtransaction (Coordinator parent) throws SystemException { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.CONSTRUCTORS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "ServerOSINestedAction::commit_subtransaction :"+_theUid); } /* * First remove entry for this transaction otid * from map. Have to do it here as we are going * to be deleted by the base class! */ OTIDMap.remove(get_uid()); super.commit_subtransaction(parent); }
public org.omg.CosTransactions.Vote prepare () throws HeuristicMixed, HeuristicHazard, SystemException { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("ServerOSITopLevelAction::prepare for " + _theUid); } /* * First remove entry for this transaction otid from map. Have to do it * here as we are going to be deleted by the base class! */ OTIDMap.remove(get_uid()); return super.prepare(); }
public void commit () throws SystemException, NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "ServerOSITopLevelAction::commit for "+_theUid); } OTIDMap.remove(get_uid()); super.commit(); }
public void rollback () throws SystemException, HeuristicCommit, HeuristicMixed, HeuristicHazard { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "ServerOSITopLevelAction::rollback for "+_theUid); } OTIDMap.remove(get_uid()); super.rollback(); }
public void commit_one_phase () throws HeuristicHazard, SystemException { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "ServerOSITopLevelAction::commit_one_phase for "+_theUid); } OTIDMap.remove(get_uid()); super.commit_one_phase(); }
public void forget () throws SystemException { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "ServerOSITopLevelAction::forget for "+_theUid); } OTIDMap.remove(get_uid()); super.forget(); }
public org.omg.CosTransactions.Vote prepare () throws HeuristicMixed, HeuristicHazard, SystemException { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "ServerOSITopLevelAction::prepare for "+_theUid); } /* * First remove entry for this transaction otid * from map. Have to do it here as we are going * to be deleted by the base class! */ OTIDMap.remove(get_uid()); return super.prepare(); }