| Modifier and Type | Field and Description |
|---|---|
| pack-priv static volatile Consumer | |
| pack-priv static volatile boolean | failNonBlockingScheduler
If true, attempting to run a blockingX operation on a (by default) computation or single scheduler will throw an IllegalStateException. |
| pack-priv static volatile boolean | lockdown
Prevents changing the plugins. |
| pack-priv static volatile BooleanSupplier | |
| pack-priv static volatile Function | |
| pack-priv static volatile BiFunction | |
| pack-priv static volatile Function | |
| pack-priv static volatile Function | |
| pack-priv static volatile Function | |
| pack-priv static volatile Function | |
| pack-priv static volatile BiFunction | |
| pack-priv static volatile Function | |
| pack-priv static volatile Function | |
| pack-priv static volatile Function | |
| pack-priv static volatile Function | |
| pack-priv static volatile Function | |
| pack-priv static volatile Function | |
| pack-priv static volatile BiFunction | |
| pack-priv static volatile Function | |
| pack-priv static volatile Function | |
| pack-priv static volatile BiFunction | |
| pack-priv static volatile Function | |
| pack-priv static volatile Function | |
| pack-priv static volatile Function | |
| pack-priv static volatile Function | |
| pack-priv static volatile BiFunction |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static < the input type T, the output type R> R | |
| pack-priv static < the first input type T, the second input type U, the output type R> R | Returns: the result of the function callthe function to call, not null (not verified) f, T the first parameter value to the function t, U the second parameter value to the function u)Wraps the call to the function in try-catch and propagates thrown checked exceptions as RuntimeException. |
| pack-priv static Scheduler | Returns: the result of the function call, not nullthe function to call, not null (not verified). Cannot return null f, Callable<Scheduler> the parameter value to the function s)Wraps the call to the Scheduler creation function in try-catch and propagates thrown checked exceptions as RuntimeException and enforces that result is not null. |
| pack-priv static Scheduler | Returns: the result of the callable call, not nullWraps the call to the Scheduler creation callable in try-catch and propagates thrown checked exceptions as RuntimeException and enforces that result is not null. |
| public static Scheduler | Returns: the created Scheduler instancethread factory to use for creating worker threads. Note that this takes precedence over any
system properties for configuring new thread creation. Cannot be null. threadFactory)Create an instance of the default |
| public static Scheduler | Returns: the created Scheduler instancethread factory to use for creating worker threads. Note that this takes precedence over any
system properties for configuring new thread creation. Cannot be null. threadFactory)Create an instance of the default |
| public static Scheduler | Returns: the created Scheduler instancethread factory to use for creating worker threads. Note that this takes precedence over any
system properties for configuring new thread creation. Cannot be null. threadFactory)Create an instance of the default |
| public static Scheduler | Returns: the created Scheduler instancethread factory to use for creating worker threads. Note that this takes precedence over any
system properties for configuring new thread creation. Cannot be null. threadFactory)Create an instance of the default |
| public static Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static Consumer | |
| public static Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static Function | |
| public static Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static BooleanSupplier | Returns: the current blocking handler or null if not specifiedReturns the current blocking handler or null if no custom handler is set. |
| public static Function | |
| public static BiFunction | Returns: the hook function, may be nullReturns the current hook function. |
| public static Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static Function | |
| public static BiFunction | |
| public static Function | |
| public static BiFunction | |
| public static Function | |
| public static BiFunction | |
| public static Function | |
| public static Function | |
| public static BiFunction | |
| public static Function | |
| public static Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static Scheduler | Returns: the value returned by the hook, not nulla defaultScheduler)Callable which returns the hook's input valueCalls the associated hook function. |
| public static Scheduler | Returns: the value returned by the hook, not nulla defaultScheduler)Callable which returns the hook's input valueCalls the associated hook function. |
| public static Scheduler | Returns: the value returned by the hook, not nulla defaultScheduler)Callable which returns the hook's input valueCalls the associated hook function. |
| public static Scheduler | Returns: the value returned by the hook, not nulla defaultScheduler)Callable which returns the hook's input valueCalls the associated hook function. |
| pack-priv static boolean | Returns: true if the error should pass through, false if it may be wrapped into an UndeliverableExceptionthe error to check error)Checks if the given error is one of the already named
bug cases that should pass through |
| public static boolean | Returns: true if the blockingX operators fail on a non-blocking schedulerReturns true if the blockingX operators fail with an IllegalStateException on a non-blocking scheduler such as computation or single. |
| public static boolean | Returns: true if the plugins were locked downReturns true if the plugins were locked down. |
| public static void | |
| public static < the value type T> Maybe | Returns: the value returned by the hookthe hook's input value source)Calls the associated hook function. |
| public static < the value type T> Flowable | Returns: the value returned by the hookthe hook's input value source)Calls the associated hook function. |
| public static < the value type T> ConnectableFlowable | Returns: the value returned by the hookthe hook's input value source)Calls the associated hook function. |
| public static < the value type T> Observable | Returns: the value returned by the hookthe hook's input value source)Calls the associated hook function. |
| public static < the value type T> ConnectableObservable | Returns: the value returned by the hookthe hook's input value source)Calls the associated hook function. |
| public static < the value type T> Single | Returns: the value returned by the hookthe hook's input value source)Calls the associated hook function. |
| public static Completable | Returns: the value returned by the hookthe hook's input value source)Calls the associated hook function. |
| public static < the value type of the source T> ParallelFlowable | Returns: the value returned by the hookthe hook's input value source)Calls the associated hook function. |
| public static boolean | Returns: true if the blocking should be preventedCalled before an operator attempts a blocking operation such as awaiting a condition or signal and should return true to indicate the operator should not block but throw an IllegalArgumentException. |
| public static Scheduler | Returns: the value returned by the hookthe hook's input value defaultScheduler)Calls the associated hook function. |
| public static void | |
| public static Scheduler | Returns: the value returned by the hookthe hook's input value defaultScheduler)Calls the associated hook function. |
| public static Scheduler | Returns: the value returned by the hookthe hook's input value defaultScheduler)Calls the associated hook function. |
| public static Runnable | Returns: the replacement runnablethe runnable instance run)Called when a task is scheduled. |
| public static Scheduler | Returns: the value returned by the hookthe hook's input value defaultScheduler)Calls the associated hook function. |
| public static < the value type T> Subscriber | Returns: the value returned by the hookthe hook's input value source, Subscriber<? super T> the subscriber subscriber)Calls the associated hook function. |
| public static < the value type T> Observer | Returns: the value returned by the hookthe hook's input value source, Observer<? super T> the observer observer)Calls the associated hook function. |
| public static < the value type T> SingleObserver | Returns: the value returned by the hookthe hook's input value source, SingleObserver<? super T> the observer observer)Calls the associated hook function. |
| public static CompletableObserver | Returns: the value returned by the hookthe hook's input value source, CompletableObserver the observer observer)Calls the associated hook function. |
| public static < the value type T> MaybeObserver | Returns: the value returned by the hookthe hook's input value source, MaybeObserver<? super T> the subscriber observer)Calls the associated hook function. |
| public static void | |
| public static void | setComputationSchedulerHandler(Function<? super Scheduler, ? extends Scheduler>
the hook function to set, null allowed handler)Sets the specific hook function. |
| public static void | setErrorHandler(Consumer<? super Throwable>
the hook function to set, null allowed handler)Sets the specific hook function. |
| public static void | setFailOnNonBlockingScheduler(boolean
enable or disable the feature enable)Enables or disables the blockingX operators to fail with an IllegalStateException on a non-blocking scheduler such as computation or single. |
| public static void | setInitComputationSchedulerHandler(Function<? super Callable<Scheduler>, ? extends Scheduler>
the hook function to set, null allowed, but the function may not return null handler)Sets the specific hook function. |
| public static void | setInitIoSchedulerHandler(Function<? super Callable<Scheduler>, ? extends Scheduler>
the hook function to set, null allowed, but the function may not return null handler)Sets the specific hook function. |
| public static void | setInitNewThreadSchedulerHandler(Function<? super Callable<Scheduler>, ? extends Scheduler>
the hook function to set, null allowed, but the function may not return null handler)Sets the specific hook function. |
| public static void | setInitSingleSchedulerHandler(Function<? super Callable<Scheduler>, ? extends Scheduler>
the hook function to set, null allowed, but the function may not return null handler)Sets the specific hook function. |
| public static void | setIoSchedulerHandler(Function<? super Scheduler, ? extends Scheduler>
the hook function to set, null allowed handler)Sets the specific hook function. |
| public static void | setNewThreadSchedulerHandler(Function<? super Scheduler, ? extends Scheduler>
the hook function to set, null allowed handler)Sets the specific hook function. |
| public static void | setOnBeforeBlocking(BooleanSupplier
the handler to set, null resets to the default handler
that always returns false handler)Set the handler that is called when an operator attempts a blocking await; the handler should return true to prevent the blocking and to signal an IllegalStateException instead. |
| public static void | setOnCompletableAssembly(Function<? super Completable, ? extends Completable>
the hook function to set, null allowed onCompletableAssembly)Sets the specific hook function. |
| public static void | setOnCompletableSubscribe(BiFunction<? super Completable, ? super CompletableObserver, ? extends CompletableObserver>
the hook function to set, null allowed onCompletableSubscribe)Sets the specific hook function. |
| public static void | setOnConnectableFlowableAssembly(Function<? super ConnectableFlowable<T>, ? extends ConnectableFlowable<T>>
the hook function to set, null allowed onConnectableFlowableAssembly)Sets the specific hook function. |
| public static void | setOnConnectableObservableAssembly(Function<? super ConnectableObservable<T>, ? extends ConnectableObservable<T>>
the hook function to set, null allowed onConnectableObservableAssembly)Sets the specific hook function. |
| public static void | setOnFlowableAssembly(Function<? super Flowable<T>, ? extends Flowable<T>>
the hook function to set, null allowed onFlowableAssembly)Sets the specific hook function. |
| public static void | setOnFlowableSubscribe(BiFunction<? super Flowable<T>, ? super Subscriber<T>, ? extends Subscriber<T>>
the hook function to set, null allowed onFlowableSubscribe)Sets the specific hook function. |
| public static void | setOnMaybeAssembly(Function<? super Maybe<T>, ? extends Maybe<T>>
the hook function to set, null allowed onMaybeAssembly)Sets the specific hook function. |
| public static void | setOnMaybeSubscribe(BiFunction<? super Maybe<T>, MaybeObserver<T>, ? extends MaybeObserver<T>>
the hook function to set, null allowed onMaybeSubscribe)Sets the specific hook function. |
| public static void | setOnObservableAssembly(Function<? super Observable<T>, ? extends Observable<T>>
the hook function to set, null allowed onObservableAssembly)Sets the specific hook function. |
| public static void | setOnObservableSubscribe(BiFunction<? super Observable<T>, ? super Observer<T>, ? extends Observer<T>>
the hook function to set, null allowed onObservableSubscribe)Sets the specific hook function. |
| public static void | setOnParallelAssembly(Function<? super ParallelFlowable<T>, ? extends ParallelFlowable<T>>
the hook function to set, null allowed handler)Sets the specific hook function. |
| public static void | setOnSingleAssembly(Function<? super Single<T>, ? extends Single<T>>
the hook function to set, null allowed onSingleAssembly)Sets the specific hook function. |
| public static void | setOnSingleSubscribe(BiFunction<? super Single<T>, ? super SingleObserver<T>, ? extends SingleObserver<T>>
the hook function to set, null allowed onSingleSubscribe)Sets the specific hook function. |
| public static void | setScheduleHandler(Function<? super Runnable, ? extends Runnable>
the hook function to set, null allowed handler)Sets the specific hook function. |
| public static void | setSingleSchedulerHandler(Function<? super Scheduler, ? extends Scheduler>
the hook function to set, null allowed handler)Sets the specific hook function. |
| pack-priv static void | |
| pack-priv static void |