Class SolutionSetUpdateBarrier
java.lang.Object
org.apache.flink.runtime.iterative.concurrent.SolutionSetUpdateBarrier
Resettable barrier to synchronize the
IterationHeadTask and the IterationTailTask
in case of iterations that contain a separate solution set tail.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReleases the waiting thread.voidsetup()voidWaits (blocking) on barrier.
-
Constructor Details
-
SolutionSetUpdateBarrier
public SolutionSetUpdateBarrier()
-
-
Method Details
-
setup
public void setup() -
waitForSolutionSetUpdate
Waits (blocking) on barrier.- Throws:
InterruptedException
-
notifySolutionSetUpdate
public void notifySolutionSetUpdate()Releases the waiting thread.
-