Package eu.stratosphere.pact.runtime.iterative.event

Examples of eu.stratosphere.pact.runtime.iterative.event.TerminationEvent


          log.info(formatLogString("signaling that all workers are to terminate in iteration ["
            + currentIteration + "]"));
        }

        requestTermination();
        sendToAllWorkers(new TerminationEvent());
//        notifyMonitor(IterationMonitoring.Event.SYNC_FINISHED, currentIteration);
      } else {
        if (log.isInfoEnabled()) {
          log.info(formatLogString("signaling that all workers are done in iteration [" + currentIteration
            + "]"));
View Full Code Here


  }

  @Test
  public void syncTermination() throws InterruptedException {
    for (int n = 0; n < 20; n++) {
      sync(new TerminationEvent());
    }
  }
View Full Code Here

TOP

Related Classes of eu.stratosphere.pact.runtime.iterative.event.TerminationEvent

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.