@Internal public class BarrierAlignmentUtil extends Object
Modifier and Type | Class and 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 and Description |
---|
BarrierAlignmentUtil() |
Modifier and Type | Method and Description |
---|---|
static BarrierAlignmentUtil.DelayableTimer |
createRegisterTimerCallback(org.apache.flink.api.common.operators.MailboxExecutor mailboxExecutor,
TimerService timerService) |
static long |
getTimerDelay(org.apache.flink.util.clock.Clock clock,
org.apache.flink.runtime.io.network.api.CheckpointBarrier announcedBarrier) |
public static long getTimerDelay(org.apache.flink.util.clock.Clock clock, org.apache.flink.runtime.io.network.api.CheckpointBarrier announcedBarrier)
public static BarrierAlignmentUtil.DelayableTimer createRegisterTimerCallback(org.apache.flink.api.common.operators.MailboxExecutor mailboxExecutor, TimerService timerService)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.