Package org.infinispan.transaction.xa

Examples of org.infinispan.transaction.xa.InvalidTransactionException


   }

   @Override
   public void putLookedUpEntry(Object key, CacheEntry e) {
      if (!valid) {
         throw new InvalidTransactionException("This remote transaction " + getGlobalTransaction() + " is invalid");
      }
      if (log.isTraceEnabled()) {
         log.tracef("Adding key %s to tx %s", key, getGlobalTransaction());
      }
      lookedUpEntries.put(key, e);
View Full Code Here


   }

   @Override
   public void putLookedUpEntries(Map<Object, CacheEntry> entries) {
      if (!valid) {
         throw new InvalidTransactionException("This remote transaction " + getGlobalTransaction() + " is invalid");
      }
      if (log.isTraceEnabled()) {
         log.tracef("Adding keys %s to tx %s", entries.keySet(), getGlobalTransaction());
      }
      lookedUpEntries.putAll(entries);
View Full Code Here

         if (log.isTraceEnabled()) {
            log.trace("Adding key " + key + " to tx " + getGlobalTransaction());
         }
         lookedUpEntries.put(key, e);
      } else {
         throw new InvalidTransactionException("This remote transaction " + getGlobalTransaction() + " is invalid");
      }
   }
View Full Code Here

         if (log.isTraceEnabled()) {
            log.tracef("Adding key %s to tx %s", key, getGlobalTransaction());
         }
         lookedUpEntries.put(key, e);
      } else {
         throw new InvalidTransactionException("This remote transaction " + getGlobalTransaction() + " is invalid");
      }
   }
View Full Code Here

         if (log.isTraceEnabled()) {
            log.tracef("Adding key %s to tx %s", key, getGlobalTransaction());
         }
         lookedUpEntries.put(key, e);
      } else {
         throw new InvalidTransactionException("This remote transaction " + getGlobalTransaction() + " is invalid");
      }
   }
View Full Code Here

         if (log.isTraceEnabled()) {
            log.tracef("Adding key %s to tx %s", key, getGlobalTransaction());
         }
         lookedUpEntries.put(key, e);
      } else {
         throw new InvalidTransactionException("This remote transaction " + getGlobalTransaction() + " is invalid");
      }
   }
View Full Code Here

         if (log.isTraceEnabled()) {
            log.trace("Adding key " + key + " to tx " + getGlobalTransaction());
         }
         lookedUpEntries.put(key, e);
      } else {
         throw new InvalidTransactionException("This remote transaction " + getGlobalTransaction() + " is invalid");
      }
   }
View Full Code Here

      return missingLookedUpEntries;
   }

   private void checkIfRolledBack() {
      if (isMarkedForRollback()) {
         throw new InvalidTransactionException("This remote transaction " + getGlobalTransaction() + " is already rolled back");
      }
   }
View Full Code Here

TOP

Related Classes of org.infinispan.transaction.xa.InvalidTransactionException

Copyright © 2018 www.massapicom. 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.