Flux/Mono operators.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| pack-priv static boolean | |
| pack-priv static boolean | |
| pack-priv static final String | KEY_ON_DISCARD
A key that can be used to store a sequence-specific onDiscard(Consumer)
hook in a |
| pack-priv static final String | KEY_ON_ERROR_DROPPED
A key that can be used to store a sequence-specific |
| pack-priv static final String | KEY_ON_NEXT_DROPPED
A key that can be used to store a sequence-specific |
| pack-priv static final String | KEY_ON_OPERATOR_ERROR
A key that can be used to store a sequence-specific |
| pack-priv static final String | KEY_ON_REJECTED_EXECUTION
A key that can be used to store a sequence-specific |
| pack-priv static final Logger | |
| pack-priv static Function | |
| private static final LinkedHashMap | |
| pack-priv static volatile Consumer | |
| pack-priv static volatile Function | |
| private static final LinkedHashMap | |
| pack-priv static volatile Consumer | |
| pack-priv static volatile OnNextFailureStrategy | |
| pack-priv static volatile BiFunction | |
| private static final LinkedHashMap | |
| private static Function | |
| private static final LinkedHashMap |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static <T, P extends Publisher | |
| public static <T, P extends Publisher | addCallSiteInfo(P publisher, String callSite)
Deprecated
Should only be used by the instrumentation, DOES NOT guarantee any compatibility
|
| public static void | |
| public static <T, P extends Publisher | addReturnInfo(P publisher, String method)
Deprecated
Should only be used by the instrumentation, DOES NOT guarantee any compatibility
|
| public static < the type of data emitted by the T> FluxPublisher | |
| public static < the type of data emitted by the T> MonoPublisher | convertToMonoBypassingHooks(Publisher<T> publisher, boolean
true to ensure Mono semantics (by cancelling on first onNext if source isn't already a Mono),
false to perform a direct conversion (see Mono#fromDirect(Publisher)).Utility method to convert a |
| pack-priv static BiFunction | createOrUpdateOpErrorHook(Collection<BiFunction<? super Throwable, Object, ? extends Throwable>> hooks)
|
| pack-priv static Function | createOrUpdateOpHook(Collection<Function<? super Publisher<Object>, ? extends Publisher<Object>>> hooks)
|
| public static void | disableAutomaticContextPropagation()
Globally disables automatic context propagation to |
| public static void | disableContextLossTracking()
Globally disables the |
| public static void | |
| public static void | enableContextLossTracking()
Globally enables the |
| pack-priv static final Map | |
| pack-priv static final Map | |
| pack-priv static final Map | |
| pack-priv static boolean | |
| public static void | |
| public static void | onEachOperator(String
the key for the sub-hook to add/replace key, Function<? super Publisher<Object>, ? extends Publisher<Object>> the sub-hook: a function to intercept each operation call
(e.g. onEachOperator)map (fn) and map(fn2) in flux.map(fn).map(fn2).subscribe())Add or replace a named |
| public static void | onErrorDropped(Consumer<? super Throwable>
the c)Consumer to apply to dropped errorsOverride global error dropped strategy which by default bubble back the error. |
| public static void | onLastOperator(Function<? super Publisher<Object>, ? extends Publisher<Object>>
the sub-hook: a function to intercept last operation call
(e.g. onLastOperator)map(fn2) in flux.map(fn).map(fn2).subscribe())Add a |
| public static void | onLastOperator(String
the key for the sub-hook to add/replace key, Function<? super Publisher<Object>, ? extends Publisher<Object>> the sub-hook: a function to intercept last operation call
(e.g. onLastOperator)map(fn2) in flux.map(fn).map(fn2).subscribe())Add or replace a named |
| public static void | onNextDropped(Consumer<Object>
the c)Consumer to apply to data (onNext) that is droppedOverride global data dropped strategy which by default logs at DEBUG level. |
| public static void | onNextDroppedFail()
Resets |
| public static void | onNextError(BiFunction<? super Throwable, Object, ? extends Throwable>
the new onNextError)BiFunction to use.Set the custom global error mode hook for operators that support resuming
during an error in their |
| public static void | onOperatorDebug()
Enable operator stack recorder that captures a declaration stack whenever an operator is instantiated. |
| public static void | onOperatorError(BiFunction<? super Throwable, Object, ? extends Throwable>
an operator error onOperatorError)BiFunction mapper, returning an arbitrary exception
given the failure and optionally some original context (data or error).Add a custom error mapping, overriding the default one. |
| public static void | onOperatorError(String
the key for the sub-hook to add/replace key, BiFunction<? super Throwable, Object, ? extends Throwable> an operator error onOperatorError)BiFunction mapper, returning an arbitrary exception
given the failure and optionally some original context (data or error).Add or replace a named custom error mapping, overriding the default one. |
| public static void | |
| public static void | |
| public static void | resetOnEachOperator(String
the key of the sub-hook to remove key)Remove the sub-hook with key |
| public static void | |
| public static void | |
| public static void | resetOnLastOperator(String
the key of the sub-hook to remove key)Remove the sub-hook with key |
| public static void | |
| public static void | resetOnNextDropped()
Reset global data dropped strategy to throwing via |
| public static void | resetOnNextError()
Reset global onNext error handling strategy to terminating the sequence with
an onError and cancelling upstream ( |
| public static void | |
| public static void | resetOnOperatorError(String
the key of the sub-hook to remove key)Remove the sub-hook with key |
| public static void | |
| public static <T> Queue |