|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrx.Scheduler
rx.schedulers.ImmediateScheduler
public final class ImmediateScheduler
Executes work immediately on the current thread.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class rx.Scheduler |
---|
Scheduler.Inner, Scheduler.Recurse |
Method Summary | |
---|---|
static ImmediateScheduler |
getInstance()
Deprecated. Use Schedulers.immediate(); |
Subscription |
schedule(Action1<Scheduler.Inner> action)
Schedules an Action on a new Scheduler instance (typically another thread) for execution. |
Subscription |
schedule(Action1<Scheduler.Inner> action,
long delayTime,
java.util.concurrent.TimeUnit unit)
Schedules an Action on a new Scheduler instance (typically another thread) for execution at some point in the future. |
Methods inherited from class rx.Scheduler |
---|
degreeOfParallelism, now, schedulePeriodically, scheduleRecursive |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Deprecated public static ImmediateScheduler getInstance()
public Subscription schedule(Action1<Scheduler.Inner> action)
Scheduler
schedule
in class Scheduler
action
- Action to schedule
public Subscription schedule(Action1<Scheduler.Inner> action, long delayTime, java.util.concurrent.TimeUnit unit)
Scheduler
schedule
in class Scheduler
action
- the Action to scheduledelayTime
- time to wait before executing the actionunit
- the time unit the delay time is given in
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |