Package org.infinispan.transaction

Examples of org.infinispan.transaction.LocalTransaction.markForRollback()


         return completeTransaction(localTransaction, commit, xid);
      } else {
         RecoveryAwareTransaction tx = getPreparedTransaction(xid);
         if (tx instanceof LocalTransaction) {
            LocalTransaction ltx = (LocalTransaction) tx;
            ltx.markForRollback(false);
            if (log.isTraceEnabled()) log.tracef("About to complete local transaction %s", xid);
            return completeTransaction(ltx, commit, xid);
         } else {
            if (tx == null) return "Could not find transaction " + xid;
            GlobalTransaction globalTransaction = tx.getGlobalTransaction();
View Full Code Here


         return completeTransaction(localTransaction, commit, xid);
      } else {
         RecoveryAwareTransaction tx = getPreparedTransaction(xid);
         if (tx instanceof LocalTransaction) {
            LocalTransaction ltx = (LocalTransaction) tx;
            ltx.markForRollback(false);
            if (log.isTraceEnabled()) log.tracef("About to complete local transaction %s", xid);
            return completeTransaction(ltx, commit, xid);
         } else {
            if (tx == null) return "Could not find transaction " + xid;
            GlobalTransaction globalTransaction = tx.getGlobalTransaction();
View Full Code Here

         return completeTransaction(localTransaction, commit, xid);
      } else {
         RecoveryAwareTransaction tx = getPreparedTransaction(xid);
         if (tx instanceof LocalTransaction) {
            LocalTransaction ltx = (LocalTransaction) tx;
            ltx.markForRollback(false);
            if (log.isTraceEnabled()) log.tracef("About to complete local transaction %s", xid);
            return completeTransaction(ltx, commit, xid);
         } else {
            if (tx == null) return "Could not find transaction " + xid;
            GlobalTransaction globalTransaction = tx.getGlobalTransaction();
View Full Code Here

         return completeTransaction(localTransaction, commit, xid);
      } else {
         RecoveryAwareTransaction tx = getPreparedTransaction(xid);
         if (tx instanceof LocalTransaction) {
            LocalTransaction ltx = (LocalTransaction) tx;
            ltx.markForRollback(false);
            if (log.isTraceEnabled()) log.tracef("About to complete local transaction %s", xid);
            return completeTransaction(ltx, commit, xid);
         } else {
            if (tx == null) return "Could not find transaction " + xid;
            GlobalTransaction globalTransaction = tx.getGlobalTransaction();
View Full Code Here

         return completeTransaction(localTransaction, commit, xid);
      } else {
         RecoveryAwareTransaction tx = getPreparedTransaction(xid);
         if (tx instanceof LocalTransaction) {
            LocalTransaction ltx = (LocalTransaction) tx;
            ltx.markForRollback(false);
            if (log.isTraceEnabled()) log.tracef("About to complete local transaction %s", xid);
            return completeTransaction(ltx, commit, xid);
         } else {
            if (tx == null) return "Could not find transaction " + xid;
            GlobalTransaction globalTransaction = tx.getGlobalTransaction();
View Full Code Here

         return completeTransaction(localTransaction, commit, xid);
      } else {
         RecoveryAwareTransaction tx = getPreparedTransaction(xid);
         if (tx instanceof LocalTransaction) {
            LocalTransaction ltx = (LocalTransaction) tx;
            ltx.markForRollback(false);
            if (log.isTraceEnabled()) log.tracef("About to complete local transaction %s", xid);
            return completeTransaction(ltx, commit, xid);
         } else {
            if (tx == null) return "Could not find transaction " + xid;
            GlobalTransaction globalTransaction = tx.getGlobalTransaction();
View Full Code Here

         return completeTransaction(localTransaction, commit, xid);
      } else {
         RecoveryAwareTransaction tx = getPreparedTransaction(xid);
         if (tx instanceof LocalTransaction) {
            LocalTransaction ltx = (LocalTransaction) tx;
            ltx.markForRollback(false);
            if (log.isTraceEnabled()) log.tracef("About to complete local transaction %s", xid);
            return completeTransaction(ltx, commit, xid);
         } else {
            if (tx == null) return "Could not find transaction " + xid;
            GlobalTransaction globalTransaction = tx.getGlobalTransaction();
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.