public class ContextScheduler.ContextWorker extends Scheduler.Worker
Constructor and Description |
---|
ContextWorker() |
Modifier and Type | Method and Description |
---|---|
int |
countActions() |
boolean |
isUnsubscribed() |
Subscription |
schedule(Action0 action) |
Subscription |
schedule(Action0 action,
long delayTime,
TimeUnit unit) |
Subscription |
schedulePeriodically(Action0 action,
long initialDelay,
long period,
TimeUnit unit) |
void |
unsubscribe() |
now
public int countActions()
public Subscription schedule(Action0 action)
schedule
in class Scheduler.Worker
public Subscription schedule(Action0 action, long delayTime, TimeUnit unit)
schedule
in class Scheduler.Worker
public Subscription schedulePeriodically(Action0 action, long initialDelay, long period, TimeUnit unit)
schedulePeriodically
in class Scheduler.Worker
public void unsubscribe()
public boolean isUnsubscribed()
Copyright © 2024 Eclipse. All rights reserved.