| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | FluxMergeSequential.MergeSequentialInner<
the type of objects emitted by the inner flux R>Represents the inner flux in a mergeSequential, that has an internal queue to hold items while they arrive out of order. |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final FluxConcatMap. | |
| pack-priv final Function | |
| pack-priv final int | |
| pack-priv final int | |
| pack-priv final Supplier |
| Access | Constructor and Description |
|---|---|
| pack-priv | FluxMergeSequential(Flux<? extends T> source, Function<? super T, ? extends Publisher<? extends R>> mapper, int maxConcurrency, int prefetch, FluxConcatMap.
|
| pack-priv | FluxMergeSequential(Flux<? extends T> source, Function<? super T, ? extends Publisher<? extends R>> mapper, int maxConcurrency, int prefetch, FluxConcatMap.
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Overrides reactor. Implements reactor. |
| public CoreSubscriber | subscribeOrReturn(CoreSubscriber<? super R> actual)
Implements abstract reactor. Implements reactor. CoreSubscriber, or force
subscription encapsulation by returning null.
|
| errorMode | back to summary |
|---|---|
| pack-priv final FluxConcatMap. | |
| mapper | back to summary |
|---|---|
| pack-priv final Function<? super T, ? extends Publisher<? extends R>> mapper | |
| maxConcurrency | back to summary |
|---|---|
| pack-priv final int maxConcurrency | |
| prefetch | back to summary |
|---|---|
| pack-priv final int prefetch | |
| queueSupplier | back to summary |
|---|---|
| pack-priv final Supplier<Queue<FluxMergeSequential. | |
| FluxMergeSequential | back to summary |
|---|---|
| pack-priv FluxMergeSequential(Flux<? extends T> source, Function<? super T, ? extends Publisher<? extends R>> mapper, int maxConcurrency, int prefetch, FluxConcatMap. | |
| FluxMergeSequential | back to summary |
|---|---|
| pack-priv FluxMergeSequential(Flux<? extends T> source, Function<? super T, ? extends Publisher<? extends R>> mapper, int maxConcurrency, int prefetch, FluxConcatMap. | |
| scanUnsafe | back to summary |
|---|---|
| public Object scanUnsafe(Scannable. Overrides reactor. Implements reactor. Doc from reactor. This method is used internally by components to define their key-value mappings
in a single place. Although it is ignoring the generic type of the
For public consumption of attributes, prefer using | |
| subscribeOrReturn | back to summary |
|---|---|
| public CoreSubscriber Implements abstract reactor. Implements reactor. Doc from reactor. Allow delegation of the subscription by returning a
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv volatile boolean | |
| pack-priv int | |
| pack-priv final int | |
| pack-priv final FluxMergeSequential. | |
| pack-priv final int | |
| pack-priv long | |
| pack-priv volatile Queue | |
| pack-priv volatile Subscription | |
| pack-priv static final AtomicReferenceFieldUpdater |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public Context | currentContext()
Overrides default reactor. Context from dependent components which can include downstream
operators during subscribing or a terminal org..
|
| pack-priv boolean | |
| public void | |
| public void | onError(Throwable
the throwable signaled t)Implements org. |
| public void | onNext(R
the element signaled t)Implements org. Publisher in response to requests to Subscription#request(long).
|
| public void | onSubscribe(Subscription
the s)Subscription that allows requesting data via Subscription#request(long)Implements reactor. onNext(Object) before
calling Subscription#request(long).
|
| pack-priv Queue | |
| pack-priv void | |
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Implements reactor. |
| pack-priv void |
| done | back to summary |
|---|---|
| pack-priv volatile boolean done | |
| fusionMode | back to summary |
|---|---|
| pack-priv int fusionMode | |
| limit | back to summary |
|---|---|
| pack-priv final int limit | |
| parent | back to summary |
|---|---|
| pack-priv final FluxMergeSequential. | |
| prefetch | back to summary |
|---|---|
| pack-priv final int prefetch | |
| produced | back to summary |
|---|---|
| pack-priv long produced | |
| queue | back to summary |
|---|---|
| pack-priv volatile Queue<R> queue | |
| subscription | back to summary |
|---|---|
| pack-priv volatile Subscription subscription | |
| SUBSCRIPTION | back to summary |
|---|---|
| pack-priv static final AtomicReferenceFieldUpdater<FluxMergeSequential. | |
| MergeSequentialInner | back to summary |
|---|---|
| pack-priv MergeSequentialInner(FluxMergeSequential. | |
| cancel | back to summary |
|---|---|
| pack-priv void cancel() | |
| currentContext | back to summary |
|---|---|
| public Context currentContext() Overrides default reactor. Doc from reactor. Request a
| |
| isDone | back to summary |
|---|---|
| pack-priv boolean isDone() | |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements org. Doc from org. Successful terminal state.
No further events will be sent even if
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable t) Implements org. Doc from org. Failed terminal state.
No further events will be sent even if | |
| onNext | back to summary |
|---|---|
| public void onNext(R t) Implements org. Doc from org. Data notification sent by the
| |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Subscription s) Implements reactor. Doc from reactor. Implementors should initialize any state used by
Note that an invalid request
No data will start flowing until
It is the responsibility of this
The
| |
| queue | back to summary |
|---|---|
| pack-priv Queue | |
| requestOne | back to summary |
|---|---|
| pack-priv void requestOne() | |
| scanUnsafe | back to summary |
|---|---|
| public Object scanUnsafe(Scannable. Implements reactor. Doc from reactor. This method is used internally by components to define their key-value mappings
in a single place. Although it is ignoring the generic type of the
For public consumption of attributes, prefer using | |
| setDone | back to summary |
|---|---|
| pack-priv void setDone() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final CoreSubscriber | |
| pack-priv volatile boolean | |
| pack-priv FluxMergeSequential. | |
| pack-priv volatile boolean | |
| pack-priv volatile Throwable | |
| pack-priv static final AtomicReferenceFieldUpdater | |
| pack-priv final FluxConcatMap. | errorMode
whether or not errors should be delayed until the very end of all inner publishers or just until the completion of the currently merged inner publisher |
| pack-priv final Function | mapper
the mapper giving the inner publisher for each source value |
| pack-priv final int | maxConcurrency
how many eagerly subscribed inner stream at a time, at most |
| pack-priv final int | prefetch
request size for inner subscribers (size of the inner queues) |
| pack-priv volatile long | |
| pack-priv static final AtomicLongFieldUpdater | |
| pack-priv Subscription | |
| pack-priv final Queue | |
| pack-priv volatile int | wip
guard against multiple threads entering the drain loop. |
| pack-priv static final AtomicIntegerFieldUpdater |
| Access | Constructor and Description |
|---|---|
| pack-priv | MergeSequentialMain(CoreSubscriber<? super R> actual, Function<? super T, ? extends Publisher<? extends R>> mapper, int maxConcurrency, int prefetch, FluxConcatMap.
|
| Modifier and Type | Method and Description |
|---|---|
| public final CoreSubscriber | |
| public void | cancel()
Implements org. Publisher to stop sending data and clean up resources.
|
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public Stream | inners()
Overrides default reactor. Stream of referenced inners (flatmap, multicast etc)
|
| public void | |
| public void | onError(Throwable
the throwable signaled t)Implements org. |
| public void | onNext(T
the element signaled t)Implements org. Publisher in response to requests to Subscription#request(long).
|
| public void | onSubscribe(Subscription
the s)Subscription that allows requesting data via Subscription#request(long)Implements reactor. onNext(Object) before
calling Subscription#request(long).
|
| public void | request(long
the strictly positive number of elements to requests to the upstream n)PublisherImplements org. Publisher until demand is signaled via this method.
|
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Overrides default reactor. Implements reactor. |
| actual | back to summary |
|---|---|
| pack-priv final CoreSubscriber<? super R> actual | |
| cancelled | back to summary |
|---|---|
| pack-priv volatile boolean cancelled | |
| current | back to summary |
|---|---|
| pack-priv FluxMergeSequential. | |
| done | back to summary |
|---|---|
| pack-priv volatile boolean done | |
| error | back to summary |
|---|---|
| pack-priv volatile Throwable error | |
| ERROR | back to summary |
|---|---|
| pack-priv static final AtomicReferenceFieldUpdater<FluxMergeSequential. | |
| errorMode | back to summary |
|---|---|
| pack-priv final FluxConcatMap. whether or not errors should be delayed until the very end of all inner publishers or just until the completion of the currently merged inner publisher | |
| mapper | back to summary |
|---|---|
| pack-priv final Function<? super T, ? extends Publisher<? extends R>> mapper the mapper giving the inner publisher for each source value | |
| maxConcurrency | back to summary |
|---|---|
| pack-priv final int maxConcurrency how many eagerly subscribed inner stream at a time, at most | |
| prefetch | back to summary |
|---|---|
| pack-priv final int prefetch request size for inner subscribers (size of the inner queues) | |
| requested | back to summary |
|---|---|
| pack-priv volatile long requested | |
| REQUESTED | back to summary |
|---|---|
| pack-priv static final AtomicLongFieldUpdater<FluxMergeSequential. | |
| s | back to summary |
|---|---|
| pack-priv Subscription s | |
| subscribers | back to summary |
|---|---|
| pack-priv final Queue<FluxMergeSequential. | |
| wip | back to summary |
|---|---|
| pack-priv volatile int wip guard against multiple threads entering the drain loop. allows thread stealing by continuing the loop if wip has been incremented externally by a separate thread. | |
| WIP | back to summary |
|---|---|
| pack-priv static final AtomicIntegerFieldUpdater<FluxMergeSequential. | |
| MergeSequentialMain | back to summary |
|---|---|
| pack-priv MergeSequentialMain(CoreSubscriber<? super R> actual, Function<? super T, ? extends Publisher<? extends R>> mapper, int maxConcurrency, int prefetch, FluxConcatMap. | |
| actual | back to summary |
|---|---|
| public final CoreSubscriber Implements reactor.
| |
| cancel | back to summary |
|---|---|
| public void cancel() Implements org. Doc from org. Request the Data may still be sent to meet previously signalled demand after calling cancel.
| |
| cancelAll | back to summary |
|---|---|
| pack-priv void cancelAll() | |
| drain | back to summary |
|---|---|
| pack-priv void drain() | |
| drainAndCancel | back to summary |
|---|---|
| pack-priv void drainAndCancel() | |
| innerComplete | back to summary |
|---|---|
| pack-priv void innerComplete(FluxMergeSequential. | |
| innerError | back to summary |
|---|---|
| pack-priv void innerError(FluxMergeSequential. | |
| innerNext | back to summary |
|---|---|
| pack-priv void innerNext(FluxMergeSequential. | |
| inners | back to summary |
|---|---|
| public Stream Overrides default reactor. Doc from reactor. Return a | |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements org. Doc from org. Successful terminal state.
No further events will be sent even if
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable t) Implements org. Doc from org. Failed terminal state.
No further events will be sent even if | |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements org. Doc from org. Data notification sent by the
| |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Subscription s) Implements reactor. Doc from reactor. Implementors should initialize any state used by
Note that an invalid request
No data will start flowing until
It is the responsibility of this
The
| |
| request | back to summary |
|---|---|
| public void request(long n) Implements org. Doc from org. No events will be sent by a
It can be called however often and whenever needed—but if the outstanding cumulative demand ever becomes Long.MAX_VALUE or more,
it may be treated by the
Whatever has been requested can be sent by the
A | |
| scanUnsafe | back to summary |
|---|---|
| public Object scanUnsafe(Scannable. Overrides default reactor. Implements reactor. Doc from reactor. This method is used internally by components to define their key-value mappings
in a single place. Although it is ignoring the generic type of the
For public consumption of attributes, prefer using | |