Class SuperstepKickoffLatch
- java.lang.Object
-
- org.apache.flink.runtime.iterative.concurrent.SuperstepKickoffLatch
-
public class SuperstepKickoffLatch extends Object
Latch used to wait for the previous superstep to complete.
-
-
Constructor Summary
Constructors Constructor Description SuperstepKickoffLatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
awaitStartOfSuperstepOrTermination(int superstep)
void
signalTermination()
void
triggerNextSuperstep()
-
-
-
Method Detail
-
triggerNextSuperstep
public void triggerNextSuperstep()
-
signalTermination
public void signalTermination()
-
awaitStartOfSuperstepOrTermination
public boolean awaitStartOfSuperstepOrTermination(int superstep) throws InterruptedException
- Throws:
InterruptedException
-
-