Class SolutionSetUpdateBarrier
- java.lang.Object
-
- org.apache.flink.runtime.iterative.concurrent.SolutionSetUpdateBarrier
-
public class SolutionSetUpdateBarrier extends Object
Resettable barrier to synchronize theIterationHeadTaskand theIterationTailTaskin 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 voidnotifySolutionSetUpdate()Releases the waiting thread.voidsetup()voidwaitForSolutionSetUpdate()Waits (blocking) on barrier.
-
-
-
Method Detail
-
setup
public void setup()
-
waitForSolutionSetUpdate
public void waitForSolutionSetUpdate() throws InterruptedExceptionWaits (blocking) on barrier.- Throws:
InterruptedException
-
notifySolutionSetUpdate
public void notifySolutionSetUpdate()
Releases the waiting thread.
-
-