Single execution with a
default no-op implementation.
See RxJavaPlugins or the RxJava GitHub Wiki for information on configuring plugins:
https://github.com/ReactiveX/RxJava/wiki/Plugins.
Note on thread-safety and performance:
A single implementation of this class will be used globally so methods on this class will be invoked concurrently from multiple threads so all functionality must be thread-safe.
Methods are also invoked synchronously and will add to execution time of the single so all behavior should be fast. If anything time-consuming is to be done it should be spawned asynchronously onto separate worker threads.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public < the value type emitted by Single T> Single. | Returns: rx.<T> function that can be modified, decorated, replaced or just
returned as a pass throughoriginal frx.<T> to be executed
Deprecated
Invoked during the construction by Single#create(Single.
This can be used to decorate or replace the |
| public < the upstream value type (input) T, the downstream value type (output) R> Observable. | Returns: rx.<R, T> function that can be modified, decorated, replaced or just
returned as a pass throughoriginal liftrx.<R, T>
Deprecated
Invoked just as the operator functions is called to bind two operations together into a new
Single and the return value is used as the lifted function
This can be used to decorate or replace the |
| public < the value type emitted by Single T> Throwable | Returns: Throwable that can be decorated, replaced or just returned as a pass throughThrowable thrown by e)Single#subscribe(Subscriber)
Deprecated
Invoked after failed execution of Single#subscribe(Subscriber) with thrown Throwable.
|
| public < the value type emitted by Single T> Subscription | Returns: Subscription subscription that can be modified, decorated, replaced or just returned as a
pass throughoriginal subscription)Subscription
Deprecated
Invoked after successful execution of Single#subscribe(Subscriber) with returned
Subscription.
|
| public < the value type emitted T> Observable. | Returns: rx.<T> function that can be modified, decorated, replaced or just
returned as a pass throughthe parent single instance singleInstance, final Observable.original onSubscriberx.<T> to be executed
Deprecated
Invoked before Single#subscribe(Subscriber) is about to be executed.
|
| RxJavaSingleExecutionHook | back to summary |
|---|---|
| public RxJavaSingleExecutionHook() | |
| onCreate | back to summary |
|---|---|
| public <T> Single. Deprecated
Invoked during the construction by
This can be used to decorate or replace the
| |
| onLift | back to summary |
|---|---|
| public <T, R> Observable. Deprecated
Invoked just as the operator functions is called to bind two operations together into a new
This can be used to decorate or replace the
| |
| onSubscribeError | back to summary |
|---|---|
| public <T> Throwable onSubscribeError(Throwable e)
Deprecated
Invoked after failed execution of
This is not errors emitted via
| |
| onSubscribeReturn | back to summary |
|---|---|
| public <T> Subscription onSubscribeReturn(Subscription subscription)
Deprecated
Invoked after successful execution of
This can be used to decorate or replace the
| |
| onSubscribeStart | back to summary |
|---|---|
| public <T> Observable. Deprecated
Invoked before
This can be used to decorate or replace the
| |