| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final int | |
| pack-priv final Supplier | |
| pack-priv final Publisher |
| Access | Constructor and Description |
|---|---|
| pack-priv | ParallelSource(Publisher<? extends T> source, int parallelism, int prefetch, Supplier<Queue<T>> queueSupplier)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | getPrefetch()
The prefetch configuration of the component
|
| public int | parallelism()
Implements abstract reactor. |
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Implements reactor. |
| public void | subscribe(CoreSubscriber<? super T>[]
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'.
|
| parallelism | back to summary |
|---|---|
| pack-priv final int parallelism | |
| prefetch | back to summary |
|---|---|
| pack-priv final int prefetch | |
| queueSupplier | back to summary |
|---|---|
| pack-priv final Supplier<Queue<T>> queueSupplier | |
| source | back to summary |
|---|---|
| pack-priv final Publisher<? extends T> source | |
| ParallelSource | back to summary |
|---|---|
| pack-priv ParallelSource(Publisher<? extends T> source, int parallelism, int prefetch, Supplier<Queue<T>> queueSupplier) | |
| 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.
| |
| 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 T>[] subscribers) Implements abstract reactor. Doc from reactor. Subscribes an array of Subscribers to this
| |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv volatile boolean | |
| pack-priv volatile boolean | |
| pack-priv final long[] | |
| pack-priv Throwable | |
| pack-priv int | |
| pack-priv final int | |
| pack-priv final int | |
| pack-priv int | |
| pack-priv Queue | |
| pack-priv final Supplier | |
| pack-priv final AtomicLongArray | |
| pack-priv Subscription | |
| pack-priv int | |
| pack-priv static final AtomicIntegerFieldUpdater | |
| pack-priv volatile int | subscriberCount
Counts how many subscribers were setup to delay triggering the drain of upstream until all of them have been setup. |
| pack-priv final CoreSubscriber | |
| pack-priv volatile int | |
| pack-priv static final AtomicIntegerFieldUpdater |
| Access | Constructor and Description |
|---|---|
| pack-priv | ParallelSourceMain(CoreSubscriber<? super T>[] subscribers, int prefetch, Supplier<Queue<T>> queueSupplier)
|
| 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 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 Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Implements reactor. |
| pack-priv void |
| cancelled | back to summary |
|---|---|
| pack-priv volatile boolean cancelled | |
| done | back to summary |
|---|---|
| pack-priv volatile boolean done | |
| emissions | back to summary |
|---|---|
| pack-priv final long[] emissions | |
| error | back to summary |
|---|---|
| pack-priv Throwable error | |
| index | back to summary |
|---|---|
| pack-priv int index | |
| limit | back to summary |
|---|---|
| pack-priv final int limit | |
| prefetch | back to summary |
|---|---|
| pack-priv final int prefetch | |
| produced | back to summary |
|---|---|
| pack-priv int produced | |
| queue | back to summary |
|---|---|
| pack-priv Queue<T> queue | |
| queueSupplier | back to summary |
|---|---|
| pack-priv final Supplier<Queue<T>> queueSupplier | |
| requests | back to summary |
|---|---|
| pack-priv final AtomicLongArray requests | |
| s | back to summary |
|---|---|
| pack-priv Subscription s | |
| sourceMode | back to summary |
|---|---|
| pack-priv int sourceMode | |
| SUBSCRIBER_COUNT | back to summary |
|---|---|
pack-priv static final AtomicIntegerFieldUpdater<ParallelSource.
| |
| subscriberCount | back to summary |
|---|---|
| pack-priv volatile int subscriberCount Counts how many subscribers were setup to delay triggering the drain of upstream until all of them have been setup. | |
| subscribers | back to summary |
|---|---|
| pack-priv final CoreSubscriber<? super T>[] subscribers | |
| wip | back to summary |
|---|---|
| pack-priv volatile int wip | |
| WIP | back to summary |
|---|---|
pack-priv static final AtomicIntegerFieldUpdater<ParallelSource.
| |
| ParallelSourceMain | back to summary |
|---|---|
| pack-priv ParallelSourceMain(CoreSubscriber<? super T>[] subscribers, int prefetch, Supplier<Queue<T>> queueSupplier) | |
| cancel | back to summary |
|---|---|
| pack-priv void cancel() | |
| currentContext | back to summary |
|---|---|
| public Context currentContext() Overrides default reactor. Doc from reactor. Request a
| |
| drain | back to summary |
|---|---|
| pack-priv void drain() | |
| drainAsync | back to summary |
|---|---|
| pack-priv void drainAsync() | |
| drainSync | back to summary |
|---|---|
| pack-priv void drainSync() | |
| 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
| |
| 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 | |
| setupSubscribers | back to summary |
|---|---|
| pack-priv void setupSubscribers() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final int | |
| pack-priv final ParallelSource. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public CoreSubscriber | |
| public void | cancel()
Implements org. Publisher to stop sending data and clean up resources.
|
| 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. |
| index | back to summary |
|---|---|
| pack-priv final int index | |
| length | back to summary |
|---|---|
| pack-priv final int length | |
| parent | back to summary |
|---|---|
| pack-priv final ParallelSource. | |
| ParallelSourceInner | back to summary |
|---|---|
| pack-priv ParallelSourceInner(ParallelSource. | |
| actual | back to summary |
|---|---|
| public 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.
| |
| 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. 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 | |