public final class Timer extends Object
| Modifier and Type | Method and Description |
|---|---|
static ScheduledFuture<?> |
schedule(Runnable runnable,
Duration runFrequency,
TimerType timerType) |
public static ScheduledFuture<?> schedule(Runnable runnable, Duration runFrequency, TimerType timerType)
runFrequency - implemented only for TimeUnit granularity - SecondsCopyright © 2017. All rights reserved.