|
27 | 27 | * The initial and runtime values of the various scheduler types can be overridden via the
|
28 | 28 | * {@code RxJavaPlugins.setInit(scheduler name)SchedulerHandler()} and
|
29 | 29 | * {@code RxJavaPlugins.set(scheduler name)SchedulerHandler()} respectively.
|
| 30 | + * Note that overriding any initial {@code Scheduler} via the {@link RxJavaPlugins} |
| 31 | + * has to happen before the {@code Schedulers} class is accessed. |
30 | 32 | * <p>
|
31 | 33 | * <strong>Supported system properties ({@code System.getProperty()}):</strong>
|
32 | 34 | * <ul>
|
@@ -453,7 +455,7 @@ public static Scheduler from(@NonNull Executor executor) {
|
453 | 455 | * <p>History: 2.2.6 - experimental
|
454 | 456 | * @param executor
|
455 | 457 | * the executor to wrap
|
456 |
| - * @param interruptibleWorker if {@code true} the tasks submitted to the {@link io.reactivex.rxjava3.core.Scheduler.Worker Scheduler.Worker} will |
| 458 | + * @param interruptibleWorker if {@code true}, the tasks submitted to the {@link io.reactivex.rxjava3.core.Scheduler.Worker Scheduler.Worker} will |
457 | 459 | * be interrupted when the task is disposed.
|
458 | 460 | * @return the new {@code Scheduler} wrapping the {@code Executor}
|
459 | 461 | * @since 3.0.0
|
@@ -532,9 +534,9 @@ public static Scheduler from(@NonNull Executor executor, boolean interruptibleWo
|
532 | 534 | * Note that this method returns a new {@code Scheduler} instance, even for the same {@code Executor} instance.
|
533 | 535 | * @param executor
|
534 | 536 | * the executor to wrap
|
535 |
| - * @param interruptibleWorker if {@code true} the tasks submitted to the {@link io.reactivex.rxjava3.core.Scheduler.Worker Scheduler.Worker} will |
| 537 | + * @param interruptibleWorker if {@code true}, the tasks submitted to the {@link io.reactivex.rxjava3.core.Scheduler.Worker Scheduler.Worker} will |
536 | 538 | * be interrupted when the task is disposed.
|
537 |
| - * @param fair if {@code true} tasks submitted to the will be executed by the underlying {@code Executor} one after the other, still |
| 539 | + * @param fair if {@code true}, tasks submitted to the {@code Scheduler} or {@code Worker} will be executed by the underlying {@code Executor} one after the other, still |
538 | 540 | * in a FIFO and non-overlapping manner, but allows interleaving with other tasks submitted to the underlying {@code Executor}.
|
539 | 541 | * If {@code false}, the underlying FIFO scheme will execute as many tasks as it can before giving up the underlying {@code Executor} thread.
|
540 | 542 | * @return the new {@code Scheduler} wrapping the {@code Executor}
|
|
0 commit comments