Modifier and Type | Method and Description |
---|---|
SynchronizationContext.ScheduledHandle |
SynchronizationContext.schedule(Runnable task,
long delay,
TimeUnit unit,
ScheduledExecutorService timerService)
Schedules a task to be added and run via
SynchronizationContext.execute(java.lang.Runnable) after a delay. |