public final class SwingScheduler extends Object implements Scheduler
Scheduler.WorkerDisposable.Composite, Disposable.Swap| Modifier and Type | Method and Description |
|---|---|
static Scheduler |
create() |
Scheduler.Worker |
createWorker() |
Disposable |
schedule(Runnable task) |
Disposable |
schedule(Runnable task,
long delay,
TimeUnit unit) |
Disposable |
schedulePeriodically(Runnable task,
long initialDelay,
long period,
TimeUnit unit) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisDisposedpublic 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 Schedulerpublic Scheduler.Worker createWorker()
createWorker in interface Scheduler