public static interface BarrierAlignmentUtil.DelayableTimer
| 限定符和类型 | 方法和说明 |
|---|---|
BarrierAlignmentUtil.Cancellable |
registerTask(Callable<?> callable,
java.time.Duration delay)
Register a task to be executed some time later.
|
BarrierAlignmentUtil.Cancellable registerTask(Callable<?> callable, java.time.Duration delay)
callable - the task to submitdelay - how long after the delay to execute the taskCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.