Examples of StateTransferControlCommand


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

    * @param block if true, mimics setting a flush.  Otherwise, mimics un-setting a flush.
    * @throws Exception if there are issues
    */
   private void mimicPartialFlushViaRPC(Address addressToFlush, boolean block) throws Exception
   {
      StateTransferControlCommand cmd = commandsFactory.buildStateTransferControlCommand(block);
      Vector<Address> recipient = new Vector<Address>();
      recipient.add(addressToFlush);
      if (!block) rpcManager.getFlushTracker().unblock();
      rpcManager.callRemoteMethods(recipient, cmd, true, cfg.getStateRetrievalTimeout(), true);
      if (block) rpcManager.getFlushTracker().block();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.