Examples of xaCommit()


Examples of net.sf.ehcache.statistics.LiveCacheStatisticsWrapper.xaCommit()

     * @param onePhase true if onePhase, false otherwise
     * @throws XAException when an error occurs
     */
    public void commitInternal(Xid xid, boolean onePhase) throws XAException {
        LiveCacheStatisticsWrapper liveCacheStatisticsWrapper = (LiveCacheStatisticsWrapper) cache.getLiveCacheStatistics();
        liveCacheStatisticsWrapper.xaCommit();
        if (onePhase) {
            XATransactionContext twopcTransactionContext = xidToContextMap.get(xid);
            if (twopcTransactionContext == null) {
                throw new EhcacheXAException("cannot call commit(onePhase=true) after prepare", XAException.XAER_PROTO);
            }
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.xaCommit()

    {
            setupContextStack();
      try
      {
                LanguageConnectionContext lcc = getLanguageConnection();
                lcc.xaCommit(onePhase);
                InterruptStatus.restoreIntrFlagIfSeen(lcc);
      } catch (StandardException t)
      {
        throw handleException(t);
      }
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.xaCommit()

    {
            setupContextStack();
      try
      {
                LanguageConnectionContext lcc = getLanguageConnection();
                lcc.xaCommit(onePhase);
                InterruptStatus.restoreIntrFlagIfSeen(lcc);
      } catch (StandardException t)
      {
        throw handleException(t);
      }
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.xaCommit()

    {
            setupContextStack();
      try
      {
                LanguageConnectionContext lcc = getLanguageConnection();
                lcc.xaCommit(onePhase);
                InterruptStatus.restoreIntrFlagIfSeen(lcc);
      } catch (StandardException t)
      {
        throw handleException(t);
      }
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.xaCommit()

    {
            setupContextStack();
      try
      {
                LanguageConnectionContext lcc = getLanguageConnection();
                lcc.xaCommit(onePhase);
                InterruptStatus.restoreIntrFlagIfSeen(lcc);
      } catch (StandardException t)
      {
        throw handleException(t);
      }
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.xaCommit()

    {
            setupContextStack();
      try
      {
                LanguageConnectionContext lcc = getLanguageConnection();
                lcc.xaCommit(onePhase);
                InterruptStatus.restoreIntrFlagIfSeen(lcc);
      } catch (StandardException t)
      {
        throw handleException(t);
      }
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.xaCommit()

    {
            setupContextStack();
      try
      {
                LanguageConnectionContext lcc = getLanguageConnection();
                lcc.xaCommit(onePhase);
                InterruptStatus.restoreIntrFlagIfSeen(lcc);
      } catch (StandardException t)
      {
        throw handleException(t);
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.