io.reactivex.Scheduler in a way that when asking for
at most the parallelism level of the Scheduler, those
io.reactivex.Scheduler.Worker instances will be running
with different backing threads.
History: 2.1.8 - experimental
| Modifier and Type | Class and Description |
|---|---|
| public static interface | SchedulerMultiWorkerSupport.WorkerCallback
The callback interface for the |
| Modifier and Type | Method and Description |
|---|---|
| public void | createWorkers(int
the number of workers to create, positive number, SchedulerMultiWorkerSupport.the callback to send worker instances to callbackCreates the given number of |
| createWorkers | back to summary |
|---|---|
| public void createWorkers(int number, SchedulerMultiWorkerSupport. Creates the given number of
| |
SchedulerMultiWorkerSupport#createWorkers(int, WorkerCallback)
method.
| Modifier and Type | Method and Description |
|---|---|
| public void |
| onWorker | back to summary |
|---|---|
| public void onWorker(int index, Scheduler. Called with the Worker index and instance. | |