Class SolutionSetUpdateBarrier

java.lang.Object
org.apache.flink.runtime.iterative.concurrent.SolutionSetUpdateBarrier

public class SolutionSetUpdateBarrier extends Object
Resettable barrier to synchronize the IterationHeadTask and the IterationTailTask in case of iterations that contain a separate solution set tail.
  • Constructor Details

    • SolutionSetUpdateBarrier

      public SolutionSetUpdateBarrier()
  • Method Details

    • setup

      public void setup()
    • waitForSolutionSetUpdate

      public void waitForSolutionSetUpdate() throws InterruptedException
      Waits (blocking) on barrier.
      Throws:
      InterruptedException
    • notifySolutionSetUpdate

      public void notifySolutionSetUpdate()
      Releases the waiting thread.