public class ContextScheduler.ContextWorker extends Scheduler.Worker
Constructor and Description |
---|
ContextWorker() |
Modifier and Type | Method and Description |
---|---|
int |
countActions() |
void |
dispose() |
boolean |
isDisposed() |
Disposable |
schedule(Runnable action) |
Disposable |
schedule(Runnable action,
long delayTime,
TimeUnit unit) |
Disposable |
schedulePeriodically(Runnable action,
long initialDelay,
long period,
TimeUnit unit) |
now
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disposed, empty, fromAction, fromAutoCloseable, fromFuture, fromFuture, fromRunnable, fromSubscription, toAutoCloseable
public int countActions()
public Disposable schedule(Runnable action)
schedule
in class Scheduler.Worker
public Disposable schedule(Runnable action, long delayTime, TimeUnit unit)
schedule
in class Scheduler.Worker
public Disposable schedulePeriodically(Runnable action, long initialDelay, long period, TimeUnit unit)
schedulePeriodically
in class Scheduler.Worker
public void dispose()
public boolean isDisposed()
Copyright © 2024 Eclipse. All rights reserved.