Package org.apache.flink.runtime.iterative.event

Examples of org.apache.flink.runtime.iterative.event.TerminationEvent


  }

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


          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

TOP

Related Classes of org.apache.flink.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.