diff --git a/src/main/java/io/reactivex/annotations/SchedulerSupport.java b/src/main/java/io/reactivex/annotations/SchedulerSupport.java index d405236c92..acf89ad988 100644 --- a/src/main/java/io/reactivex/annotations/SchedulerSupport.java +++ b/src/main/java/io/reactivex/annotations/SchedulerSupport.java @@ -59,6 +59,13 @@ * or takes timing information from it. */ String TRAMPOLINE = "io.reactivex:trampoline"; + /** + * The operator/class runs on RxJava's {@linkplain Schedulers#single() single scheduler} + * or takes timing information from it. + * @since 2.0.8 - experimental + */ + @Experimental + String SINGLE = "io.reactivex:single"; /** * The kind of scheduler the class or method uses. diff --git a/src/main/java/io/reactivex/schedulers/Schedulers.java b/src/main/java/io/reactivex/schedulers/Schedulers.java index 7f621c6071..6f1071590b 100644 --- a/src/main/java/io/reactivex/schedulers/Schedulers.java +++ b/src/main/java/io/reactivex/schedulers/Schedulers.java @@ -23,6 +23,10 @@ /** * Static factory methods for returning standard Scheduler instances. *

+ * The initial and runtime values of the various scheduler types can be overridden via the + * {@code RxJavaPlugins.setInit(scheduler name)SchedulerHandler()} and + * {@code RxJavaPlugins.set(scheduler name)SchedulerHandler()} respectively. + *

* Supported system properties ({@code System.getProperty()}): *