Skip to content

Commit 262f669

Browse files
committed
Add @since info
1 parent 2ae2414 commit 262f669

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/io/reactivex/schedulers/Schedulers.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ public static Scheduler from(Executor executor) {
183183
/**
184184
* Create an instance of the default {@link Scheduler} used for {@link Schedulers#computation()}.
185185
* @return the created Scheduler instance
186+
* @since 2.0.5 - experimental
186187
*/
187188
@Experimental
188189
public static Scheduler newComputation() {
@@ -195,6 +196,7 @@ public static Scheduler newComputation() {
195196
* @param threadFactory thread factory to use for creating worker threads. Note that this takes precedence over any
196197
* system properties for configuring new thread creation. Cannot be null.
197198
* @return the created Scheduler instance
199+
* @since 2.0.5 - experimental
198200
*/
199201
@Experimental
200202
public static Scheduler newComputation(ThreadFactory threadFactory) {
@@ -204,6 +206,7 @@ public static Scheduler newComputation(ThreadFactory threadFactory) {
204206
/**
205207
* Create an instance of the default {@link Scheduler} used for {@link Schedulers#io()}.
206208
* @return the created Scheduler instance
209+
* @since 2.0.5 - experimental
207210
*/
208211
@Experimental
209212
public static Scheduler newIo() {
@@ -216,6 +219,7 @@ public static Scheduler newIo() {
216219
* @param threadFactory thread factory to use for creating worker threads. Note that this takes precedence over any
217220
* system properties for configuring new thread creation. Cannot be null.
218221
* @return the created Scheduler instance
222+
* @since 2.0.5 - experimental
219223
*/
220224
@Experimental
221225
public static Scheduler newIo(ThreadFactory threadFactory) {
@@ -225,6 +229,7 @@ public static Scheduler newIo(ThreadFactory threadFactory) {
225229
/**
226230
* Create an instance of the default {@link Scheduler} used for {@link Schedulers#newThread()}.
227231
* @return the created Scheduler instance
232+
* @since 2.0.5 - experimental
228233
*/
229234
@Experimental
230235
public static Scheduler newNewThread() {
@@ -237,6 +242,7 @@ public static Scheduler newNewThread() {
237242
* @param threadFactory thread factory to use for creating worker threads. Note that this takes precedence over any
238243
* system properties for configuring new thread creation. Cannot be null.
239244
* @return the created Scheduler instance
245+
* @since 2.0.5 - experimental
240246
*/
241247
@Experimental
242248
public static Scheduler newNewThread(ThreadFactory threadFactory) {
@@ -246,6 +252,7 @@ public static Scheduler newNewThread(ThreadFactory threadFactory) {
246252
/**
247253
* Create an instance of the default {@link Scheduler} used for {@link Schedulers#single()}.
248254
* @return the created Scheduler instance
255+
* @since 2.0.5 - experimental
249256
*/
250257
@Experimental
251258
public static Scheduler newSingle() {
@@ -258,6 +265,7 @@ public static Scheduler newSingle() {
258265
* @param threadFactory thread factory to use for creating worker threads. Note that this takes precedence over any
259266
* system properties for configuring new thread creation. Cannot be null.
260267
* @return the created Scheduler instance
268+
* @since 2.0.5 - experimental
261269
*/
262270
@Experimental
263271
public static Scheduler newSingle(ThreadFactory threadFactory) {

0 commit comments

Comments
 (0)