Interface BarrierAlignmentUtil.DelayableTimer
- Enclosing class:
- BarrierAlignmentUtil
public static interface BarrierAlignmentUtil.DelayableTimer
It can register a task to be executed some time later.
-
Method Summary
Modifier and TypeMethodDescriptionregisterTask(Callable<?> callable, Duration delay) Register a task to be executed some time later.
-
Method Details
-
registerTask
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.
-