Interface BarrierAlignmentUtil.DelayableTimer
-
- Enclosing class:
- BarrierAlignmentUtil
public static interface BarrierAlignmentUtil.DelayableTimerIt can register a task to be executed some time later.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BarrierAlignmentUtil.CancellableregisterTask(Callable<?> callable, Duration delay)Register a task to be executed some time later.
-
-
-
Method Detail
-
registerTask
BarrierAlignmentUtil.Cancellable registerTask(Callable<?> callable, Duration delay)
Register a task to be executed some time later.- Parameters:
callable- the task to submitdelay- how long after the delay to execute the task- Returns:
- the Cancellable, it can cancel the task.
-
-