| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final BiConsumer | |
| pack-priv final Supplier | |
| pack-priv final ParallelFlux |
| Access | Constructor and Description |
|---|---|
| pack-priv | ParallelCollect(ParallelFlux<? extends T> source, Supplier<? extends C> initialCollection, BiConsumer<? super C, ? super T> collector)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | getPrefetch()
The prefetch configuration of the component
|
| public int | parallelism()
Implements abstract reactor. |
| pack-priv void | |
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Implements reactor. |
| public void | subscribe(CoreSubscriber<? super C>[]
the subscribers array to run in parallel, the number of items
must be equal to the parallelism level of this ParallelFlux subscribers)Implements abstract reactor. ParallelFlux and triggers the
execution chain for all 'rails'.
|
| collector | back to summary |
|---|---|
| pack-priv final BiConsumer<? super C, ? super T> collector | |
| initialCollection | back to summary |
|---|---|
| pack-priv final Supplier<? extends C> initialCollection | |
| source | back to summary |
|---|---|
| pack-priv final ParallelFlux<? extends T> source | |
| ParallelCollect | back to summary |
|---|---|
| pack-priv ParallelCollect(ParallelFlux<? extends T> source, Supplier<? extends C> initialCollection, BiConsumer<? super C, ? super T> collector) | |
| getPrefetch | back to summary |
|---|---|
| public int getPrefetch() Overrides reactor. Doc from reactor. The prefetch configuration of the component
| |
| parallelism | back to summary |
|---|---|
| public int parallelism() Implements abstract reactor. Doc from reactor. Returns the number of expected parallel Subscribers.
| |
| reportError | back to summary |
|---|---|
| pack-priv void reportError(Subscriber<?>[] subscribers, Throwable ex) | |
| 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 | |
| subscribe | back to summary |
|---|---|
| public void subscribe(CoreSubscriber<? super C>[] subscribers) Implements abstract reactor. Doc from reactor. Subscribes an array of Subscribers to this
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv C | |
| pack-priv final BiConsumer | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | ParallelCollectSubscriber(CoreSubscriber<? super C> subscriber, C initialValue, BiConsumer<? super C, ? super T> collector)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv C | accumulatedValue()
Implements abstract reactor. |
| public void | cancel()
Overrides reactor. Implements org. Publisher to stop sending data and clean up resources.
|
| 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 Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Overrides reactor. Overrides default reactor. Implements reactor. |
| collection | back to summary |
|---|---|
| pack-priv C collection | |
| collector | back to summary |
|---|---|
| pack-priv final BiConsumer<? super C, ? super T> collector | |
| done | back to summary |
|---|---|
| pack-priv boolean done | |
| ParallelCollectSubscriber | back to summary |
|---|---|
| pack-priv ParallelCollectSubscriber(CoreSubscriber<? super C> subscriber, C initialValue, BiConsumer<? super C, ? super T> collector) | |
| accumulatedValue | back to summary |
|---|---|
| pack-priv C accumulatedValue() Implements abstract reactor. Doc from reactor. This method is being called either during onComplete invocation in case request has happened before, or during request invocation in case onComplete with no values has happened before. Note , this method expectedly returns null if cancellation happened before
| |
| cancel | back to summary |
|---|---|
| public void cancel() Overrides reactor. Implements org. Doc from org. Request the Data may still be sent to meet previously signalled demand after calling cancel.
| |
| 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
| |
| scanUnsafe | back to summary |
|---|---|
| public Object scanUnsafe(Scannable. Overrides reactor. 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 | |