public static interface TaskBuilder.DelayedTime extends TaskBuilder.Delayed
| Modifier and Type | Method and Description |
|---|---|
ContextualTaskBuilder |
every(long duration,
TimeUnit unit)
Marks that the new task should repeat on the specified interval,
and returns the next builder in the chain.
|
call, run, supply@Nonnull ContextualTaskBuilder every(long duration, TimeUnit unit)
duration - the duration to wait between executionsunit - the units of the durationCopyright © 2020. All rights reserved.