Package rx.plugins

Class RxJavaObservableExecutionHook

java.lang.Object
rx.plugins.RxJavaObservableExecutionHook
Direct Known Subclasses:
RxJavaObservableExecutionHookDefault

public abstract class RxJavaObservableExecutionHook extends Object
Abstract ExecutionHook with invocations at different lifecycle points of 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.

  • Constructor Details

    • RxJavaObservableExecutionHook

      public RxJavaObservableExecutionHook()
  • Method Details