|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrx.Scheduler
rx.concurrency.CurrentThreadScheduler
CurrentThreadScheduler instead. This will be removed before 1.0 release.
@Deprecated public class CurrentThreadScheduler
Deprecated. Package changed from rx.concurrency to rx.schedulers.
| Method Summary | ||
|---|---|---|
static CurrentThreadScheduler |
getInstance()
Deprecated. |
|
|
schedule(T state,
Func2<? super Scheduler,? super T,? extends Subscription> action)
Deprecated. Schedules a cancelable action to be executed. |
|
|
schedule(T state,
Func2<? super Scheduler,? super T,? extends Subscription> action,
long delayTime,
java.util.concurrent.TimeUnit unit)
Deprecated. Schedules a cancelable action to be executed in delayTime. |
|
| Methods inherited from class rx.Scheduler |
|---|
degreeOfParallelism, now, schedule, schedule, schedule, schedule, schedulePeriodically, schedulePeriodically |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CurrentThreadScheduler getInstance()
public <T> Subscription schedule(T state,
Func2<? super Scheduler,? super T,? extends Subscription> action)
Scheduler
schedule in class Schedulerstate - State to pass into the action.action - Action to schedule.
public <T> Subscription schedule(T state,
Func2<? super Scheduler,? super T,? extends Subscription> action,
long delayTime,
java.util.concurrent.TimeUnit unit)
Scheduler
schedule in class Schedulerstate - State to pass into the action.action - Action to schedule.delayTime - Time the action is to be delayed before executing.unit - Time unit of the delay time.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||