Examples of markForRollback()


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

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

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

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

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

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

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

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

            RollbackCommand rollback = new RollbackCommand(command.getCacheName(), command.getGlobalTransaction());
            try {
               invokeNextInterceptor(ctx, rollback);
            } finally {
               RemoteTransaction remoteTx = (RemoteTransaction) ctx.getCacheTransaction();
               remoteTx.markForRollback(true);
               txTable.removeRemoteTransaction(command.getGlobalTransaction());
            }
         }
      }
   }
View Full Code Here

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

            RollbackCommand rollback = new RollbackCommand(command.getCacheName(), command.getGlobalTransaction());
            try {
               invokeNextInterceptor(ctx, rollback);
            } finally {
               RemoteTransaction remoteTx = (RemoteTransaction) ctx.getCacheTransaction();
               remoteTx.markForRollback(true);
               txTable.removeRemoteTransaction(command.getGlobalTransaction());
            }
         }
      }
   }
View Full Code Here

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

            RollbackCommand rollback = new RollbackCommand(command.getCacheName(), command.getGlobalTransaction());
            try {
               invokeNextInterceptor(ctx, rollback);
            } finally {
               RemoteTransaction remoteTx = (RemoteTransaction) ctx.getCacheTransaction();
               remoteTx.markForRollback(true);
               txTable.removeRemoteTransaction(command.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.