Class BarrierAlignmentUtil
- java.lang.Object
-
- org.apache.flink.streaming.runtime.io.checkpointing.BarrierAlignmentUtil
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
BarrierAlignmentUtil.Cancellable
A handle to a delayed action which can be cancelled.static interface
BarrierAlignmentUtil.DelayableTimer
It can register a task to be executed some time later.
-
Constructor Summary
Constructors Constructor Description BarrierAlignmentUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BarrierAlignmentUtil.DelayableTimer
createRegisterTimerCallback(MailboxExecutor mailboxExecutor, TimerService timerService)
static long
getTimerDelay(Clock clock, CheckpointBarrier announcedBarrier)
-
-
-
Method Detail
-
getTimerDelay
public static long getTimerDelay(Clock clock, CheckpointBarrier announcedBarrier)
-
createRegisterTimerCallback
public static BarrierAlignmentUtil.DelayableTimer createRegisterTimerCallback(MailboxExecutor mailboxExecutor, TimerService timerService)
-
-