Package org.jboss.cache.commands.remote

Examples of org.jboss.cache.commands.remote.DataGravitationCleanupCommand


   }

   private void cleanBackupData(BackupData backup, InvocationContext ctx) throws Throwable
   {

      DataGravitationCleanupCommand cleanupCommand = commandsFactory.buildDataGravitationCleanupCommand(backup.primaryFqn, backup.backupFqn);
      GlobalTransaction gtx = ctx.getGlobalTransaction();

      if (gtx == null)
      {
         // broadcast removes
View Full Code Here


   }

   private void cleanBackupData(BackupData backup, InvocationContext ctx) throws Throwable
   {

      DataGravitationCleanupCommand cleanupCommand = commandsFactory.buildDataGravitationCleanupCommand(backup.primaryFqn, backup.backupFqn);
      GlobalTransaction gtx = ctx.getGlobalTransaction();

      if (gtx == null)
      {
         // broadcast removes
View Full Code Here

      return new CommitCommand(gtx);
   }

   public DataGravitationCleanupCommand buildDataGravitationCleanupCommand(Fqn primaryFqn, Fqn backupFqn)
   {
      DataGravitationCleanupCommand command = new DataGravitationCleanupCommand(primaryFqn, backupFqn);
      command.initialize(buddyManager, invoker, transactionTable, this, dataContainer, buddyFqnTransformer);
      return command;
   }
View Full Code Here

            command = returnValue;
            break;
         }
         case DataGravitationCleanupCommand.METHOD_ID:
         {
            DataGravitationCleanupCommand returnValue = new DataGravitationCleanupCommand();
            returnValue.initialize(buddyManager, invoker, transactionTable, this, dataContainer, buddyFqnTransformer);
            command = returnValue;
            break;
         }
         case GravitateDataCommand.METHOD_ID:
         {
            GravitateDataCommand returnValue = new GravitateDataCommand(rpcManager.getLocalAddress());
            returnValue.initialize(dataContainer, cacheSpi, buddyFqnTransformer);
            command = returnValue;
            break;
         }
         default:
            throw new CacheException("Unknown command id " + id + "!");
View Full Code Here

      return new CommitCommand(gtx);
   }

   public DataGravitationCleanupCommand buildDataGravitationCleanupCommand(Fqn primaryFqn, Fqn backupFqn)
   {
      DataGravitationCleanupCommand command = new DataGravitationCleanupCommand(primaryFqn, backupFqn);
      command.initialize(buddyManager, invoker, transactionTable, this, dataContainer, buddyFqnTransformer);
      return command;
   }
View Full Code Here

            command = returnValue;
            break;
         }
         case DataGravitationCleanupCommand.METHOD_ID:
         {
            DataGravitationCleanupCommand returnValue = new DataGravitationCleanupCommand();
            returnValue.initialize(buddyManager, invoker, transactionTable, this, dataContainer, buddyFqnTransformer);
            command = returnValue;
            break;
         }
         case GravitateDataCommand.METHOD_ID:
         {
            GravitateDataCommand returnValue = new GravitateDataCommand(rpcManager.getLocalAddress());
            returnValue.initialize(dataContainer, cacheSpi, buddyFqnTransformer);
            command = returnValue;
            break;
         }
         case StateTransferControlCommand.METHOD_ID:
         {
View Full Code Here

   }

   private void cleanBackupData(BackupData backup, InvocationContext ctx) throws Throwable
   {

      DataGravitationCleanupCommand cleanupCommand = commandsFactory.buildDataGravitationCleanupCommand(backup.primaryFqn, backup.backupFqn);
      GlobalTransaction gtx = ctx.getGlobalTransaction();

      if (gtx == null)
      {
         // broadcast removes
View Full Code Here

      return new CommitCommand(gtx);
   }

   public DataGravitationCleanupCommand buildDataGravitationCleanupCommand(Fqn primaryFqn, Fqn backupFqn)
   {
      DataGravitationCleanupCommand command = new DataGravitationCleanupCommand(primaryFqn, backupFqn);
      command.initialize(buddyManager, invoker, transactionTable, this, dataContainer, buddyFqnTransformer);
      return command;
   }
View Full Code Here

            command = returnValue;
            break;
         }
         case DataGravitationCleanupCommand.METHOD_ID:
         {
            DataGravitationCleanupCommand returnValue = new DataGravitationCleanupCommand();
            returnValue.initialize(buddyManager, invoker, transactionTable, this, dataContainer, buddyFqnTransformer);
            command = returnValue;
            break;
         }
         case GravitateDataCommand.METHOD_ID:
         {
            GravitateDataCommand returnValue = new GravitateDataCommand(rpcManager.getLocalAddress());
            returnValue.initialize(dataContainer, cacheSpi, buddyFqnTransformer);
            command = returnValue;
            break;
         }
         default:
            throw new CacheException("Unknown command id " + id + "!");
View Full Code Here

   }

   private void cleanBackupData(BackupData backup, InvocationContext ctx) throws Throwable
   {

      DataGravitationCleanupCommand cleanupCommand = commandsFactory.buildDataGravitationCleanupCommand(backup.primaryFqn, backup.backupFqn);
      GlobalTransaction gtx = ctx.getGlobalTransaction();

      if (gtx == null)
      {
         // broadcast removes
View Full Code Here

TOP

Related Classes of org.jboss.cache.commands.remote.DataGravitationCleanupCommand

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.