Examples of awaitStartOfSuperstepOrTermination()


Examples of org.apache.flink.runtime.iterative.concurrent.SuperstepKickoffLatch.awaitStartOfSuperstepOrTermination()

      if (isWorksetUpdate) {
        // notify iteration head if responsible for workset update
        worksetBackChannel.notifyOfEndOfSuperstep();
      }
     
      boolean terminated = nextSuperstepLatch.awaitStartOfSuperstepOrTermination(currentIteration() + 1);

      if (terminated) {
        requestTermination();
      }
      else {
View Full Code Here

Examples of org.apache.flink.runtime.iterative.concurrent.SuperstepKickoffLatch.awaitStartOfSuperstepOrTermination()

      } else if (isSolutionSetUpdate) {
        // notify iteration head if responsible for solution set update
        solutionSetUpdateBarrier.notifySolutionSetUpdate();
      }

      boolean terminate = nextSuperStepLatch.awaitStartOfSuperstepOrTermination(currentIteration() + 1);
      if (terminate) {
        requestTermination();
      }
      else {
        incrementIterationCounter();
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.