| Modifier and Type | Field and Description |
|---|---|
| pack-priv static volatile @Nullable 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 @Nullable BooleanSupplier | |
| pack-priv static volatile @Nullable Function | |
| pack-priv static volatile @Nullable BiFunction | |
| pack-priv static volatile @Nullable Function | |
| pack-priv static volatile @Nullable Function | |
| pack-priv static volatile @Nullable Function | |
| pack-priv static volatile @Nullable Function | |
| pack-priv static volatile @Nullable BiFunction | |
| pack-priv static volatile @Nullable Function | |
| pack-priv static volatile @Nullable Function | |
| pack-priv static volatile @Nullable Function | |
| pack-priv static volatile @Nullable Function | |
| pack-priv static volatile @Nullable Function | |
| pack-priv static volatile @Nullable Function | |
| pack-priv static volatile @Nullable BiFunction | |
| pack-priv static volatile @Nullable Function | |
| pack-priv static volatile @Nullable Function | |
| pack-priv static volatile @Nullable BiFunction | |
| pack-priv static volatile @Nullable Function | |
| pack-priv static volatile @Nullable BiFunction | |
| pack-priv static volatile @Nullable Function | |
| pack-priv static volatile @Nullable Function | |
| pack-priv static volatile @Nullable Function | |
| pack-priv static volatile @Nullable 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 @NonNull Scheduler | Returns: the result of the function call, not nullthe function to call, not null (not verified). Cannot return null f, Supplier<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 @NonNull Scheduler | Returns: the result of the supplier call, not nullWraps the call to the Scheduler creation supplier in try-catch and propagates thrown checked exceptions as RuntimeException and enforces that result is not null. |
| public static @NonNull 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 @NonNull Scheduler | Returns: the newScheduler wrapping the Executorthe executor, boolean Executor to wrap and turn into a Scheduler.if interruptibleWorker, boolean true, the tasks submitted to the Scheduler. will
be interrupted when the task is disposed.if fair)true, tasks submitted to the Scheduler or Worker will be executed by the underlying Executor one after the other, still
in a FIFO and non-overlapping manner, but allows interleaving with other tasks submitted to the underlying Executor.
If false, the underlying FIFO scheme will execute as many tasks as it can before giving up the underlying Executor thread.Create an instance of a |
| public static @NonNull 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 @NonNull 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 @NonNull 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 @Nullable Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static @Nullable Consumer | |
| public static @Nullable Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static @Nullable Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static @Nullable Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static @Nullable Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static @Nullable Function | |
| public static @Nullable Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static @Nullable 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 @Nullable Function | |
| public static @Nullable BiFunction | Returns: the hook function, may be nullReturns the current hook function. |
| public static @Nullable Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static @Nullable Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static @Nullable Function | |
| public static @Nullable BiFunction | |
| public static @Nullable Function | |
| public static @Nullable BiFunction | |
| public static @Nullable Function | |
| public static @Nullable BiFunction | |
| public static @Nullable Function | |
| public static @Nullable BiFunction | |
| public static @Nullable Function | |
| public static @Nullable BiFunction | |
| public static @Nullable Function | |
| public static @Nullable Function | Returns: the hook function, may be nullReturns the current hook function. |
| public static @NonNull Scheduler | Returns: the value returned by the hook, not nulla defaultScheduler)Supplier which returns the hook's input valueCalls the associated hook function. |
| public static @NonNull Scheduler | Returns: the value returned by the hook, not nulla defaultScheduler)Supplier which returns the hook's input valueCalls the associated hook function. |
| public static @NonNull Scheduler | Returns: the value returned by the hook, not nulla defaultScheduler)Supplier which returns the hook's input valueCalls the associated hook function. |
| public static @NonNull Scheduler | Returns: the value returned by the hook, not nulla defaultScheduler)Supplier 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> @NonNull Maybe | Returns: the value returned by the hookthe hook's input value source)Calls the associated hook function. |
| public static < the value type T> @NonNull Flowable | Returns: the value returned by the hookthe hook's input value source)Calls the associated hook function. |
| public static < the value type T> @NonNull ConnectableFlowable | Returns: the value returned by the hookthe hook's input value source)Calls the associated hook function. |
| public static < the value type T> @NonNull Observable | Returns: the value returned by the hookthe hook's input value source)Calls the associated hook function. |
| public static < the value type T> @NonNull ConnectableObservable | Returns: the value returned by the hookthe hook's input value source)Calls the associated hook function. |
| public static < the value type T> @NonNull Single | Returns: the value returned by the hookthe hook's input value source)Calls the associated hook function. |
| public static @NonNull 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> @NonNull 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 @NonNull Scheduler | Returns: the value returned by the hookthe hook's input value defaultScheduler)Calls the associated hook function. |
| public static void | |
| public static @NonNull Scheduler | Returns: the value returned by the hookthe hook's input value defaultScheduler)Calls the associated hook function. |
| public static @NonNull Scheduler | Returns: the value returned by the hookthe hook's input value defaultScheduler)Calls the associated hook function. |
| public static @NonNull Runnable | Returns: the replacement runnablethe runnable instance run)Called when a task is scheduled. |
| public static @NonNull Scheduler | Returns: the value returned by the hookthe hook's input value defaultScheduler)Calls the associated hook function. |
| public static < the value type T> @NonNull Subscriber | Returns: the value returned by the hookthe hook's input value source, @NonNull Subscriber<? super T> the subscriber subscriber)Calls the associated hook function. |
| public static < the value type T> @NonNull Observer | Returns: the value returned by the hookthe hook's input value source, @NonNull Observer<? super T> the observer observer)Calls the associated hook function. |
| public static < the value type T> @NonNull SingleObserver | Returns: the value returned by the hookthe hook's input value source, @NonNull SingleObserver<? super T> the observer observer)Calls the associated hook function. |
| public static @NonNull CompletableObserver | Returns: the value returned by the hookthe hook's input value source, @NonNull CompletableObserver the observer observer)Calls the associated hook function. |
| public static < the value type T> @NonNull MaybeObserver | Returns: the value returned by the hookthe hook's input value source, @NonNull MaybeObserver<? super T> the subscriber observer)Calls the associated hook function. |
| public static < the value type T> @NonNull Subscriber | Returns: the value returned by the hookthe hook's input value source, @NonNull Subscriber<? super T>[] the array of subscribers subscribers)Calls the associated hook function. |
| public static void | |
| public static void | setComputationSchedulerHandler(@Nullable Function<? super Scheduler, ? extends Scheduler>
the hook function to set, null allowed handler)Sets the specific hook function. |
| public static void | setErrorHandler(@Nullable 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 | |
| public static void | |
| public static void | |
| public static void | |
| public static void | setIoSchedulerHandler(@Nullable Function<? super Scheduler, ? extends Scheduler>
the hook function to set, null allowed handler)Sets the specific hook function. |
| public static void | setNewThreadSchedulerHandler(@Nullable Function<? super Scheduler, ? extends Scheduler>
the hook function to set, null allowed handler)Sets the specific hook function. |
| public static void | setOnBeforeBlocking(@Nullable 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(@Nullable Function<? super Completable, ? extends Completable>
the hook function to set, null allowed onCompletableAssembly)Sets the specific hook function. |
| public static void | setOnCompletableSubscribe(@Nullable BiFunction<? super Completable, @NonNull ? super CompletableObserver, @NonNull ? extends CompletableObserver>
the hook function to set, null allowed onCompletableSubscribe)Sets the specific hook function. |
| public static void | setOnConnectableFlowableAssembly(@Nullable Function<? super ConnectableFlowable<T>, ? extends ConnectableFlowable<T>>
the hook function to set, null allowed onConnectableFlowableAssembly)Sets the specific hook function. |
| public static void | setOnConnectableObservableAssembly(@Nullable Function<? super ConnectableObservable<T>, ? extends ConnectableObservable<T>>
the hook function to set, null allowed onConnectableObservableAssembly)Sets the specific hook function. |
| public static void | setOnFlowableAssembly(@Nullable Function<? super Flowable<T>, ? extends Flowable<T>>
the hook function to set, null allowed onFlowableAssembly)Sets the specific hook function. |
| public static void | setOnFlowableSubscribe(@Nullable BiFunction<? super Flowable<T>, @NonNull ? super Subscriber<T>, @NonNull ? extends Subscriber<T>>
the hook function to set, null allowed onFlowableSubscribe)Sets the specific hook function. |
| public static void | setOnMaybeAssembly(@Nullable Function<? super Maybe<T>, ? extends Maybe<T>>
the hook function to set, null allowed onMaybeAssembly)Sets the specific hook function. |
| public static void | setOnMaybeSubscribe(@Nullable BiFunction<? super Maybe<T>, @NonNull MaybeObserver<T>, @NonNull ? extends MaybeObserver<T>>
the hook function to set, null allowed onMaybeSubscribe)Sets the specific hook function. |
| public static void | setOnObservableAssembly(@Nullable Function<? super Observable<T>, ? extends Observable<T>>
the hook function to set, null allowed onObservableAssembly)Sets the specific hook function. |
| public static void | setOnObservableSubscribe(@Nullable BiFunction<? super Observable<T>, @NonNull ? super Observer<T>, @NonNull ? extends Observer<T>>
the hook function to set, null allowed onObservableSubscribe)Sets the specific hook function. |
| public static void | setOnParallelAssembly(@Nullable Function<? super ParallelFlowable<T>, ? extends ParallelFlowable<T>>
the hook function to set, null allowed handler)Sets the specific hook function. |
| public static void | setOnParallelSubscribe(@Nullable BiFunction<? super ParallelFlowable<T>, @NonNull ? super Subscriber<T>[], @NonNull ? extends Subscriber<T>[]>
the hook function to set, null allowed handler)Sets the specific hook function. |
| public static void | setOnSingleAssembly(@Nullable Function<? super Single<T>, ? extends Single<T>>
the hook function to set, null allowed onSingleAssembly)Sets the specific hook function. |
| public static void | setOnSingleSubscribe(@Nullable BiFunction<? super Single<T>, @NonNull ? super SingleObserver<T>, @NonNull ? extends SingleObserver<T>>
the hook function to set, null allowed onSingleSubscribe)Sets the specific hook function. |
| public static void | setScheduleHandler(@Nullable Function<? super Runnable, ? extends Runnable>
the hook function to set, null allowed handler)Sets the specific hook function. |
| public static void | setSingleSchedulerHandler(@Nullable 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 |