Package org.infinispan.commands.remote

Examples of org.infinispan.commands.remote.RemoveRecoveryInfoCommand


   @Override
   public void removeRecoveryInformation(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(Collections.singletonList(xid));
         rpcManager.invokeRemotely(lockOwners, ftc, false);
      }
   }
View Full Code Here


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

         case GetInDoubtTransactionsCommand.COMMAND_ID:
            GetInDoubtTransactionsCommand gptx = (GetInDoubtTransactionsCommand) c;
            gptx.init(recoveryManager);
            break;
         case Ids.REMOVE_RECOVERY_INFO_TX_COMMAND:
            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(List<Xid> xids) {
      return new RemoveRecoveryInfoCommand(xids, cacheName);
   }
View Full Code Here

   @Override
   public void removeRecoveryInformation(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(Collections.singletonList(xid));
         rpcManager.invokeRemotely(lockOwners, ftc, false);
      }
   }
View Full Code Here

         case GetInDoubtTransactionsCommand.COMMAND_ID:
            GetInDoubtTransactionsCommand gptx = (GetInDoubtTransactionsCommand) c;
            gptx.init(recoveryManager);
            break;
         case Ids.REMOVE_RECOVERY_INFO_TX_COMMAND:
            RemoveRecoveryInfoCommand ftx = (RemoveRecoveryInfoCommand) c;
            ftx.init(recoveryManager);
            break;
         default:
            ModuleCommandInitializer mci = moduleCommandInitializers.get(c.getCommandId());
            if (mci != null) {
               mci.initializeReplicableCommand(c, isRemote);
View Full Code Here

      return new GetInDoubtTransactionsCommand(cacheName);
   }

   @Override
   public RemoveRecoveryInfoCommand buildRemoveRecoveryInfoCommand(List<Xid> xids) {
      return new RemoveRecoveryInfoCommand(xids, cacheName);
   }
View Full Code Here

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

   @Override
   public void removeRecoveryInformation(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(Collections.singletonList(xid));
         rpcManager.invokeRemotely(lockOwners, ftc, false);
      }
   }
View Full Code Here

TOP

Related Classes of org.infinispan.commands.remote.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.