/** * @return the timeout associated with transactions created by the current * thread. */ public int get_timeout () throws SystemException { CurrentImple current = OTSImpleManager.current(); if (current != null) { int val = current.get_timeout(); if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("AtomicTransaction::get_timeout returning " + val); } return val; } else throw new UNKNOWN(); }
public int getTimeout () throws javax.transaction.SystemException { try { return OTSImpleManager.current().get_timeout(); } catch (Exception e) { javax.transaction.SystemException systemException = new javax.transaction.SystemException(e.toString()); systemException.initCause(e); throw systemException; } }
public int getTimeout () throws javax.transaction.SystemException { try { return OTSImpleManager.current().get_timeout(); } catch (Exception e) { javax.transaction.SystemException systemException = new javax.transaction.SystemException(e.toString()); systemException.initCause(e); throw systemException; } }
/** * @return the timeout associated with transactions created by the current * thread. */ public int get_timeout () throws SystemException { CurrentImple current = OTSImpleManager.current(); if (current != null) { int val = current.get_timeout(); if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "AtomicTransaction::get_timeout returning " + val); } return val; } else throw new UNKNOWN(); }
OTSImpleManager.factory().createLocal(get_timeout())); else currentAction = new ControlWrapper( OTSImpleManager.get_factory().create(get_timeout()));
OTSImpleManager.factory().createLocal(get_timeout())); else currentAction = new ControlWrapper( OTSImpleManager.get_factory().create(get_timeout()));