Package org.jboss.cache.commands.read

Examples of org.jboss.cache.commands.read.GravitateDataCommand


   {
      if (trace) log.trace("Requesting data gravitation for Fqn " + fqn);

      List<Address> mbrs = rpcManager.getMembers();
      Boolean searchSubtrees = buddyManager.isDataGravitationSearchBackupTrees();
      GravitateDataCommand command = commandsFactory.buildGravitateDataCommand(fqn, searchSubtrees);
      // doing a GET_ALL is crappy but necessary since JGroups' GET_FIRST could return null results from nodes that do
      // not have either the primary OR backup, and stop polling other valid nodes.
      List resps = rpcManager.callRemoteMethods(null, command, GroupRequest.GET_ALL, buddyManager.getBuddyCommunicationTimeout(), new ResponseValidityFilter(mbrs, rpcManager.getLocalAddress()), false);

      if (trace) log.trace("got responses " + resps);
View Full Code Here

TOP

Related Classes of org.jboss.cache.commands.read.GravitateDataCommand

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.