Package org.apache.giraph.comm.requests

Examples of org.apache.giraph.comm.requests.SendAggregatorsToWorkerRequest


  @Override
  public void distributeAggregators(
      Iterable<byte[]> aggregatorDataList) throws IOException {
    for (byte[] aggregatorData : aggregatorDataList) {
      SendAggregatorsToWorkerRequest request =
          new SendAggregatorsToWorkerRequest(aggregatorData,
              serviceWorker.getWorkerInfo().getTaskId());
      for (WorkerInfo worker : serviceWorker.getWorkerInfoList()) {
        if (!isThisWorker(worker)) {
          workerClient.sendWritableRequest(worker.getTaskId(), request);
        }
View Full Code Here


  public void distributeReducedValues(
      Iterable<byte[]> aggregatorDataList) throws IOException {
    for (byte[] aggregatorData : aggregatorDataList) {
      for (WorkerInfo worker : serviceWorker.getWorkerInfoList()) {
        if (!isThisWorker(worker)) {
          SendAggregatorsToWorkerRequest request =
              new SendAggregatorsToWorkerRequest(aggregatorData,
                  serviceWorker.getWorkerInfo().getTaskId());
          workerClient.sendWritableRequest(worker.getTaskId(), request);
        }
        progressable.progress();
      }
View Full Code Here

TOP

Related Classes of org.apache.giraph.comm.requests.SendAggregatorsToWorkerRequest

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.