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