Skip to content

Commit

Permalink
Add @since info
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Jan 19, 2017
1 parent 2ae2414 commit 262f669
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/java/io/reactivex/schedulers/Schedulers.java
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ public static Scheduler from(Executor executor) {
/**
* Create an instance of the default {@link Scheduler} used for {@link Schedulers#computation()}.
* @return the created Scheduler instance
* @since 2.0.5 - experimental
*/
@Experimental
public static Scheduler newComputation() {
Expand All @@ -195,6 +196,7 @@ public static Scheduler newComputation() {
* @param threadFactory thread factory to use for creating worker threads. Note that this takes precedence over any
* system properties for configuring new thread creation. Cannot be null.
* @return the created Scheduler instance
* @since 2.0.5 - experimental
*/
@Experimental
public static Scheduler newComputation(ThreadFactory threadFactory) {
Expand All @@ -204,6 +206,7 @@ public static Scheduler newComputation(ThreadFactory threadFactory) {
/**
* Create an instance of the default {@link Scheduler} used for {@link Schedulers#io()}.
* @return the created Scheduler instance
* @since 2.0.5 - experimental
*/
@Experimental
public static Scheduler newIo() {
Expand All @@ -216,6 +219,7 @@ public static Scheduler newIo() {
* @param threadFactory thread factory to use for creating worker threads. Note that this takes precedence over any
* system properties for configuring new thread creation. Cannot be null.
* @return the created Scheduler instance
* @since 2.0.5 - experimental
*/
@Experimental
public static Scheduler newIo(ThreadFactory threadFactory) {
Expand All @@ -225,6 +229,7 @@ public static Scheduler newIo(ThreadFactory threadFactory) {
/**
* Create an instance of the default {@link Scheduler} used for {@link Schedulers#newThread()}.
* @return the created Scheduler instance
* @since 2.0.5 - experimental
*/
@Experimental
public static Scheduler newNewThread() {
Expand All @@ -237,6 +242,7 @@ public static Scheduler newNewThread() {
* @param threadFactory thread factory to use for creating worker threads. Note that this takes precedence over any
* system properties for configuring new thread creation. Cannot be null.
* @return the created Scheduler instance
* @since 2.0.5 - experimental
*/
@Experimental
public static Scheduler newNewThread(ThreadFactory threadFactory) {
Expand All @@ -246,6 +252,7 @@ public static Scheduler newNewThread(ThreadFactory threadFactory) {
/**
* Create an instance of the default {@link Scheduler} used for {@link Schedulers#single()}.
* @return the created Scheduler instance
* @since 2.0.5 - experimental
*/
@Experimental
public static Scheduler newSingle() {
Expand All @@ -258,6 +265,7 @@ public static Scheduler newSingle() {
* @param threadFactory thread factory to use for creating worker threads. Note that this takes precedence over any
* system properties for configuring new thread creation. Cannot be null.
* @return the created Scheduler instance
* @since 2.0.5 - experimental
*/
@Experimental
public static Scheduler newSingle(ThreadFactory threadFactory) {
Expand Down

0 comments on commit 262f669

Please sign in to comment.