Package rx.schedulers
Class NewThreadScheduler
- java.lang.Object
-
- rx.Scheduler
-
- rx.schedulers.NewThreadScheduler
-
@Deprecated public final class NewThreadScheduler extends Scheduler
Deprecated.This type was never publicly instantiable. UseSchedulers.newThread().
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class rx.Scheduler
Scheduler.Worker
-
-
Constructor Summary
Constructors Modifier Constructor Description privateNewThreadScheduler()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Scheduler.WorkercreateWorker()Deprecated.Retrieves or creates a newScheduler.Workerthat represents serial execution of actions.
-
-
-
Method Detail
-
createWorker
public Scheduler.Worker createWorker()
Deprecated.Description copied from class:SchedulerRetrieves or creates a newScheduler.Workerthat represents serial execution of actions.When work is completed it should be unsubscribed using
Subscription.unsubscribe().Work on a
Scheduler.Workeris guaranteed to be sequential.- Specified by:
createWorkerin classScheduler- Returns:
- a Worker representing a serial queue of actions to be executed
-
-