public void forget() throws org.omg.CORBA.SystemException { if (jtaxLogger.logger.isTraceEnabled()) { jtaxLogger.logger.trace("XAResourceRecord.forget for " + _tranID + " _forgotten=" + _forgotten); } // if we have not yet seen a successful forget call then tell the resource to forget if (!_forgotten) handleForget(); // this call can fail silently which will leave _forgotten as false // if it is known that the resource has forgotten the heuristic then delete our record of it if (_forgotten) { destroyState(); removeConnection(); } }
public void forget() throws org.omg.CORBA.SystemException { if (jtaLogger.logger.isDebugEnabled()) { jtaLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jta.logging.FacilityCode.FAC_JTA, "XAResourceRecord.forget for " + _tranID); } handleForget() ; destroyState(); removeConnection(); }
case XAException.XA_HEURCOM: try { handleForget() ; } catch (SystemException ignore) { case XAException.XA_HEURRB: try { handleForget() ; } catch (SystemException ignore) {
handleForget() ; break; case XAException.XA_HEURRB: handleForget() ; throw new TRANSACTION_ROLLEDBACK(); case XAException.XA_RBROLLBACK: