Package org.infinispan.commands.remote.recovery

Examples of org.infinispan.commands.remote.recovery.RemoveRecoveryInfoCommand


      return new CompleteTransactionCommand(cacheName, xid, commit);
   }

   @Override
   public RemoveRecoveryInfoCommand buildRemoveRecoveryInfoCommand(long internalId) {
      return new RemoveRecoveryInfoCommand(internalId, cacheName);
   }
View Full Code Here


               break;
            case RemoveCacheCommand.COMMAND_ID:
               command = new RemoveCacheCommand(cacheName, cacheManager, registry);
               break;
            case RemoveRecoveryInfoCommand.COMMAND_ID:
               command = new RemoveRecoveryInfoCommand(cacheName);
               break;
            case GetInDoubtTransactionsCommand.COMMAND_ID:
               command = new GetInDoubtTransactionsCommand(cacheName);
               break;
            case MapReduceCommand.COMMAND_ID:
View Full Code Here

   @Override
   public void removeRecoveryInformationFromCluster(Collection<Address> lockOwners, Xid xid, boolean sync) {
      //todo make sure this gets broad casted or at least flushed
      if (rpcManager != null) {
         RemoveRecoveryInfoCommand ftc = commandFactory.buildRemoveRecoveryInfoCommand(xid);
         rpcManager.invokeRemotely(lockOwners, ftc, sync);
      }
      removeRecoveryInformation(xid);
   }
View Full Code Here

   }

   @Override
   public void removeRecoveryInformationFromCluster(Collection<Address> where, long internalId, boolean sync) {
      if (rpcManager != null) {
         RemoveRecoveryInfoCommand ftc = commandFactory.buildRemoveRecoveryInfoCommand(internalId);
         rpcManager.invokeRemotely(where, ftc, sync);
      }
      removeRecoveryInformation(internalId);
   }
View Full Code Here

         case GetInDoubtTransactionsCommand.COMMAND_ID:
            GetInDoubtTransactionsCommand gptx = (GetInDoubtTransactionsCommand) c;
            gptx.init(recoveryManager);
            break;
         case RemoveRecoveryInfoCommand.COMMAND_ID:
            RemoveRecoveryInfoCommand ftx = (RemoveRecoveryInfoCommand) c;
            ftx.init(recoveryManager);
            break;
         case MapReduceCommand.COMMAND_ID:
            MapReduceCommand mrc = (MapReduceCommand)c;
            mrc.init(this, interceptorChain, icc, distributionManager,cache.getAdvancedCache().getRpcManager().getAddress());
            break;
View Full Code Here

      return new GetInDoubtTransactionsCommand(cacheName);
   }

   @Override
   public RemoveRecoveryInfoCommand buildRemoveRecoveryInfoCommand(Xid xid) {
      return new RemoveRecoveryInfoCommand(xid, cacheName);
   }
View Full Code Here

      return new CompleteTransactionCommand(cacheName, xid, commit);
   }

   @Override
   public RemoveRecoveryInfoCommand buildRemoveRecoveryInfoCommand(long internalId) {
      return new RemoveRecoveryInfoCommand(internalId, cacheName);
   }
View Full Code Here

               break;
            case RemoveCacheCommand.COMMAND_ID:
               command = new RemoveCacheCommand(cacheName, cacheManager, registry);
               break;
            case RemoveRecoveryInfoCommand.COMMAND_ID:
               command = new RemoveRecoveryInfoCommand(cacheName);
               break;
            case GetInDoubtTransactionsCommand.COMMAND_ID:
               command = new GetInDoubtTransactionsCommand(cacheName);
               break;
            case MapReduceCommand.COMMAND_ID:
View Full Code Here

   @Override
   public void removeRecoveryInformationFromCluster(Collection<Address> lockOwners, Xid xid, boolean sync) {
      //todo make sure this gets broad casted or at least flushed
      if (rpcManager != null) {
         RemoveRecoveryInfoCommand ftc = commandFactory.buildRemoveRecoveryInfoCommand(xid);
         rpcManager.invokeRemotely(lockOwners, ftc, sync);
      }
      removeRecoveryInformation(xid);
   }
View Full Code Here

   }

   @Override
   public void removeRecoveryInformationFromCluster(Collection<Address> where, long internalId, boolean sync) {
      if (rpcManager != null) {
         RemoveRecoveryInfoCommand ftc = commandFactory.buildRemoveRecoveryInfoCommand(internalId);
         rpcManager.invokeRemotely(where, ftc, sync);
      }
      removeRecoveryInformation(internalId);
   }
View Full Code Here

TOP

Related Classes of org.infinispan.commands.remote.recovery.RemoveRecoveryInfoCommand

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.