public final class ScheduledExecutorServiceUtils extends Object
ScheduledExecutorService
Modifier and Type | Method and Description |
---|---|
static ScheduledFuture<?> |
scheduleWithVariableDelay(ScheduledExecutorService scheduler,
Runnable command,
java.time.Duration initialDelay,
java.time.Duration maximumDelay)
Schedules the supplied runnable with the initialDelay.
|
public static ScheduledFuture<?> scheduleWithVariableDelay(ScheduledExecutorService scheduler, Runnable command, java.time.Duration initialDelay, java.time.Duration maximumDelay)
Copyright © 2002-2019 Atlassian. All Rights Reserved.