public abstract @interface

SchedulerSupport

implements Annotation
io.reactivex.annotations.SchedulerSupport

Class Overview

Indicates what kind of scheduler the class or method uses.

Constants are provided for instances from Schedulers as well as values for not using a scheduler and a manually-specified scheduler. Libraries providing their own values should namespace them with their base package name followed by a colon (:) and then a human-readable name (e.g., com.example:ui-thread).

Summary

Constants
String COMPUTATION The operator/class runs on RxJava's computation scheduler or takes timing information from it.
String CUSTOM A special value indicating the operator/class requires a scheduler to be manually specified.
String IO The operator/class runs on RxJava's I/O scheduler or takes timing information from it.
String NEW_THREAD The operator/class runs on RxJava's new thread scheduler or takes timing information from it.
String NONE A special value indicating the operator/class doesn't use schedulers.
String SINGLE The operator/class runs on RxJava's single scheduler or takes timing information from it.
String TRAMPOLINE The operator/class runs on RxJava's trampoline scheduler or takes timing information from it.
[Expand]
Inherited Methods
From interface java.lang.annotation.Annotation

Constants

public static final String COMPUTATION

The operator/class runs on RxJava's computation scheduler or takes timing information from it.

Constant Value: "io.reactivex:computation"

public static final String CUSTOM

A special value indicating the operator/class requires a scheduler to be manually specified.

Constant Value: "custom"

public static final String IO

The operator/class runs on RxJava's I/O scheduler or takes timing information from it.

Constant Value: "io.reactivex:io"

public static final String NEW_THREAD

The operator/class runs on RxJava's new thread scheduler or takes timing information from it.

Constant Value: "io.reactivex:new-thread"

public static final String NONE

A special value indicating the operator/class doesn't use schedulers.

Constant Value: "none"

public static final String SINGLE

The operator/class runs on RxJava's single scheduler or takes timing information from it.

Constant Value: "io.reactivex:single"

public static final String TRAMPOLINE

The operator/class runs on RxJava's trampoline scheduler or takes timing information from it.

Constant Value: "io.reactivex:trampoline"