Package RemoteCluster.CommunicationMessages

Examples of RemoteCluster.CommunicationMessages.queryMonitorForResponse


      }, getContext().system().dispatcher());
     
    } else if (message instanceof collecterCheckResponse){
      FiniteDuration duration = Duration.create(
          10, TimeUnit.SECONDS);
      Future<Object> futureList = Patterns.ask(monitor, new queryMonitorForResponse(), new Timeout(duration));
      try {
        List<ActorRef> collectList = (List<ActorRef>) Await.result(futureList, duration);
        if (collectList.size() > 0) {
          for (ActorRef m : collectList) {
            slaveQ.offer(m);
View Full Code Here

TOP

Related Classes of RemoteCluster.CommunicationMessages.queryMonitorForResponse

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.