@Deprecated public final class SwtScheduler extends Object implements Scheduler
Scheduler.Worker
Disposable.Composite, Disposable.Swap
Modifier and Type | Method and Description |
---|---|
Scheduler.Worker |
createWorker()
Deprecated.
|
static Scheduler |
from(org.eclipse.swt.widgets.Display display)
Deprecated.
|
Disposable |
schedule(Runnable task)
Deprecated.
|
Disposable |
schedule(Runnable task,
long delay,
TimeUnit unit)
Deprecated.
|
Disposable |
schedulePeriodically(Runnable task,
long initialDelay,
long period,
TimeUnit unit)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose, disposeGracefully, init, now, start
isDisposed
public static Scheduler from(org.eclipse.swt.widgets.Display display)
display
- a Display
Scheduler
public Disposable schedule(Runnable task)
public Disposable schedule(Runnable task, long delay, TimeUnit unit)
public Disposable schedulePeriodically(Runnable task, long initialDelay, long period, TimeUnit unit)
schedulePeriodically
in interface Scheduler
public Scheduler.Worker createWorker()
createWorker
in interface Scheduler