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(MailboxExecutor mailboxExecutor,
TimerService timerService) |
static long |
getTimerDelay(Clock clock,
CheckpointBarrier announcedBarrier) |
public static long getTimerDelay(Clock clock, CheckpointBarrier announcedBarrier)
public static BarrierAlignmentUtil.DelayableTimer createRegisterTimerCallback(MailboxExecutor mailboxExecutor, TimerService timerService)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.