Class SolutionSetUpdateBarrier
- java.lang.Object
-
- org.apache.flink.runtime.iterative.concurrent.SolutionSetUpdateBarrier
-
public class SolutionSetUpdateBarrier extends Object
Resettable barrier to synchronize theIterationHeadTask
and theIterationTailTask
in case of iterations that contain a separate solution set tail.
-
-
Constructor Summary
Constructors Constructor Description SolutionSetUpdateBarrier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
notifySolutionSetUpdate()
Releases the waiting thread.void
setup()
void
waitForSolutionSetUpdate()
Waits (blocking) on barrier.
-
-
-
Method Detail
-
setup
public void setup()
-
waitForSolutionSetUpdate
public void waitForSolutionSetUpdate() throws InterruptedException
Waits (blocking) on barrier.- Throws:
InterruptedException
-
notifySolutionSetUpdate
public void notifySolutionSetUpdate()
Releases the waiting thread.
-
-