Observable 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 observable 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 T> Observable. | Returns: OnSubscribe<T> function that can be modified, decorated, replaced or just
returned as a pass throughoriginal fOnSubscribe<T> to be executed
Deprecated
Invoked during the construction by Observable#unsafeCreate(OnSubscribe)
This can be used to decorate or replace the |
| public < the upstream's value type (input) T, the downstream's value type (output) R> Observable. | Returns: Operator<R, T> function that can be modified, decorated, replaced or just
returned as a pass throughoriginal liftOperator<R, T>
Deprecated
Invoked just as the operator functions is called to bind two operations together into a new
Observable and the return value is used as the lifted function
This can be used to decorate or replace the |
| public < the value type T> Throwable | Returns: Throwable that can be decorated, replaced or just returned as a pass throughThrowable thrown by e)Observable#subscribe(Subscriber)
Deprecated
Invoked after failed execution of Observable#subscribe(Subscriber) with thrown Throwable.
|
| public < the value type 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 Observable#subscribe(rx. with returned
Subscription.
|
| public < the value type T> Observable. | Returns: OnSubscribe<T> function that can be modified, decorated, replaced or just
returned as a pass throughthe parent observable instance observableInstance, final Observable.original onSubscribeOnSubscribe<T> to be executed
Deprecated
Invoked before Observable#subscribe(rx. is about to be executed.
|
| RxJavaObservableExecutionHook | back to summary |
|---|---|
| public RxJavaObservableExecutionHook() | |
| onCreate | back to summary |
|---|---|
| public <T> Observable. 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
| |