| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv abstract static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv volatile FluxPublish. | |
| pack-priv static final AtomicReferenceFieldUpdater | |
| pack-priv final int | prefetch
The size of the prefetch buffer. |
| pack-priv final Supplier | |
| pack-priv final boolean | resetUponSourceTermination
Whether to prepare for a reconnect after the source terminates. |
| pack-priv final Flux | source
The source observable. |
| Access | Constructor and Description |
|---|---|
| pack-priv | FluxPublish(Flux<? extends T> source, int prefetch, Supplier<? extends Queue<T>> queueSupplier, boolean resetUponSourceTermination)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | connect(Consumer<? super Disposable>
the callback is called with a Disposable instance that can
be called to disconnect the source, even synchronously. cancelSupport)Implements abstract reactor. ConnectableFlux to its source and sends a Disposable to a callback that
can be used for disconnecting.
|
| public int | getPrefetch()
Overrides reactor. Flux
|
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Implements reactor. |
| public void | subscribe(CoreSubscriber<? super T>
the actual)Subscriber interested into the published sequenceImplements abstract reactor. Implements reactor. Publisher#subscribe(Subscriber) that will bypass
Hooks#onLastOperator(Function) pointcut.
|
| connection | back to summary |
|---|---|
| pack-priv volatile FluxPublish. | |
| CONNECTION | back to summary |
|---|---|
pack-priv static final AtomicReferenceFieldUpdater<FluxPublish<T>, FluxPublish.
| |
| prefetch | back to summary |
|---|---|
| pack-priv final int prefetch The size of the prefetch buffer. | |
| queueSupplier | back to summary |
|---|---|
| pack-priv final Supplier<? extends Queue<T>> queueSupplier | |
| resetUponSourceTermination | back to summary |
|---|---|
| pack-priv final boolean resetUponSourceTermination Whether to prepare for a reconnect after the source terminates. | |
| source | back to summary |
|---|---|
| pack-priv final Flux<? extends T> source The source observable. | |
| FluxPublish | back to summary |
|---|---|
| pack-priv FluxPublish(Flux<? extends T> source, int prefetch, Supplier<? extends Queue<T>> queueSupplier, boolean resetUponSourceTermination) | |
| connect | back to summary |
|---|---|
| public void connect(Consumer<? super Disposable> cancelSupport) Implements abstract reactor. Doc from reactor. Connects this The call should be idempotent in respect of connecting the first and subsequent times. In addition, the disconnection should be tied to a particular connection (so two different connections can't disconnect the other).
| |
| getPrefetch | back to summary |
|---|---|
| public int getPrefetch() Overrides reactor. Doc from reactor. The prefetch configuration of 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 | |
| subscribe | back to summary |
|---|---|
| public void subscribe(CoreSubscriber<? super T> actual) Implements abstract reactor. Implements reactor. Doc from reactor. An internal
In addition to behave as expected by
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv FluxPublish. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | removeAndDrainParent()
Implements abstract reactor. |
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Overrides reactor. Overrides default reactor. |
| parent | back to summary |
|---|---|
| pack-priv FluxPublish. | |
| PublishInner | back to summary |
|---|---|
| pack-priv PublishInner(CoreSubscriber<? super T> actual) | |
| drainParent | back to summary |
|---|---|
| pack-priv void drainParent() Implements abstract reactor.
| |
| removeAndDrainParent | back to summary |
|---|---|
| pack-priv void removeAndDrainParent() Implements abstract reactor.
| |
| scanUnsafe | back to summary |
|---|---|
| public Object scanUnsafe(Scannable. Overrides reactor. 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 | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final FluxPublish. | |
| pack-priv static final long | |
| pack-priv static final long | |
| pack-priv boolean | |
| pack-priv volatile Throwable | |
| pack-priv static final AtomicReferenceFieldUpdater | |
| pack-priv static final long | |
| pack-priv static final FluxPublish. | |
| pack-priv final FluxPublish | |
| pack-priv final int | |
| pack-priv Queue | |
| pack-priv Subscription | |
| pack-priv int | |
| pack-priv volatile long | |
| pack-priv static final AtomicLongFieldUpdater | |
| pack-priv volatile FluxPublish. | |
| pack-priv static final AtomicReferenceFieldUpdater | |
| pack-priv static final long | |
| pack-priv static final FluxPublish. | |
| pack-priv static final long | |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv static 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 | |
| public void | dispose()
Implements reactor. |
| pack-priv final void | |
| pack-priv final void | |
| pack-priv static boolean | |
| public Stream | inners()
Overrides default reactor. Stream of referenced inners (flatmap, multicast etc)
|
| pack-priv static boolean | |
| pack-priv static boolean | |
| public boolean | isDisposed()
Overrides default reactor. |
| pack-priv static boolean | |
| pack-priv static boolean | |
| pack-priv boolean | |
| pack-priv static boolean | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long | |
| 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 | |
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Implements reactor. |
| pack-priv FluxPublish. | |
| pack-priv boolean |
| CANCELLED | back to summary |
|---|---|
pack-priv static final FluxPublish.
| |
| CANCELLED_FLAG | back to summary |
|---|---|
| pack-priv static final long CANCELLED_FLAG | |
| CONNECTED_FLAG | back to summary |
|---|---|
| pack-priv static final long CONNECTED_FLAG | |
| done | back to summary |
|---|---|
| pack-priv boolean done | |
| error | back to summary |
|---|---|
| pack-priv volatile Throwable error | |
| ERROR | back to summary |
|---|---|
pack-priv static final AtomicReferenceFieldUpdater<FluxPublish.
| |
| FINALIZED_FLAG | back to summary |
|---|---|
| pack-priv static final long FINALIZED_FLAG | |
| INIT | back to summary |
|---|---|
pack-priv static final FluxPublish.
| |
| parent | back to summary |
|---|---|
| pack-priv final FluxPublish<T> parent | |
| prefetch | back to summary |
|---|---|
| pack-priv final int prefetch | |
| queue | back to summary |
|---|---|
| pack-priv Queue<T> queue | |
| s | back to summary |
|---|---|
| pack-priv Subscription s | |
| sourceMode | back to summary |
|---|---|
| pack-priv int sourceMode | |
| state | back to summary |
|---|---|
| pack-priv volatile long state | |
| STATE | back to summary |
|---|---|
pack-priv static final AtomicLongFieldUpdater<FluxPublish.
| |
| subscribers | back to summary |
|---|---|
| pack-priv volatile FluxPublish. | |
| SUBSCRIBERS | back to summary |
|---|---|
pack-priv static final AtomicReferenceFieldUpdater<FluxPublish.
| |
| SUBSCRIPTION_SET_FLAG | back to summary |
|---|---|
| pack-priv static final long SUBSCRIPTION_SET_FLAG | |
| TERMINATED | back to summary |
|---|---|
pack-priv static final FluxPublish.
| |
| TERMINATED_FLAG | back to summary |
|---|---|
| pack-priv static final long TERMINATED_FLAG | |
| WORK_IN_PROGRESS_MASK | back to summary |
|---|---|
| pack-priv static final long WORK_IN_PROGRESS_MASK | |
| PublishSubscriber | back to summary |
|---|---|
| pack-priv PublishSubscriber(int prefetch, FluxPublish<T> parent) | |
| add | back to summary |
|---|---|
| pack-priv boolean add(FluxPublish. | |
| addWork | back to summary |
|---|---|
| pack-priv static long addWork(FluxPublish. | |
| addWork | back to summary |
|---|---|
| pack-priv static long addWork(long state) | |
| addWorkIfSubscribed | back to summary |
|---|---|
| pack-priv static long addWorkIfSubscribed(FluxPublish. | |
| checkTerminated | back to summary |
|---|---|
| pack-priv boolean checkTerminated(boolean d, boolean empty, T t) | |
| clear | back to summary |
|---|---|
| pack-priv void clear() | |
| clearAndFinalize | back to summary |
|---|---|
| pack-priv static void clearAndFinalize(FluxPublish. | |
| currentContext | back to summary |
|---|---|
| public Context currentContext() Overrides default reactor. Doc from reactor. Request a
| |
| disconnectAction | back to summary |
|---|---|
| pack-priv void disconnectAction(long previousState) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements reactor. Doc from reactor. Cancel or dispose the underlying task or resource. Implementations are required to make this method idempotent.
| |
| drain | back to summary |
|---|---|
| pack-priv final void drain(long expectedState) | |
| drainFromInner | back to summary |
|---|---|
| pack-priv final void drainFromInner() | |
| hasWorkInProgress | back to summary |
|---|---|
| pack-priv static boolean hasWorkInProgress(long state) | |
| inners | back to summary |
|---|---|
| public Stream Overrides default reactor. Doc from reactor. Return a | |
| isCancelled | back to summary |
|---|---|
| pack-priv static boolean isCancelled(long state) | |
| isConnected | back to summary |
|---|---|
| pack-priv static boolean isConnected(long state) | |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Overrides default reactor. Doc from reactor. Optionally return true when the resource or task is disposed. Implementations are not required to track disposition and as such may never return true even when disposed. However, they MUST only return true when there's a guarantee the resource or task is disposed.
| |
| isFinalized | back to summary |
|---|---|
| pack-priv static boolean isFinalized(long state) | |
| isSubscriptionSet | back to summary |
|---|---|
| pack-priv static boolean isSubscriptionSet(long state) | |
| isTerminated | back to summary |
|---|---|
| pack-priv boolean isTerminated() | |
| isTerminated | back to summary |
|---|---|
| pack-priv static boolean isTerminated(long state) | |
| markCancelled | back to summary |
|---|---|
| pack-priv static long markCancelled(FluxPublish. | |
| markConnected | back to summary |
|---|---|
| pack-priv static long markConnected(FluxPublish. | |
| markSubscriptionSet | back to summary |
|---|---|
| pack-priv static long markSubscriptionSet(FluxPublish. | |
| markSubscriptionSetAndAddWork | back to summary |
|---|---|
| pack-priv static long markSubscriptionSetAndAddWork(FluxPublish. | |
| markTerminated | back to summary |
|---|---|
| pack-priv static long markTerminated(FluxPublish. | |
| markWorkDone | back to summary |
|---|---|
| pack-priv static long markWorkDone(FluxPublish. | |
| 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
| |
| remove | back to summary |
|---|---|
| public void remove(FluxPublish. | |
| 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 | |
| terminate | back to summary |
|---|---|
pack-priv FluxPublish.
| |
| tryConnect | back to summary |
|---|---|
| pack-priv boolean tryConnect() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final CoreSubscriber | |
| pack-priv volatile long | |
| pack-priv static final AtomicLongFieldUpdater |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final CoreSubscriber | |
| public final void | cancel()
Implements org. Publisher to stop sending data and clean up resources.
|
| pack-priv abstract void | |
| pack-priv final boolean | |
| pack-priv abstract void | |
| public final 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. |
| actual | back to summary |
|---|---|
| pack-priv final CoreSubscriber<? super T> actual | |
| requested | back to summary |
|---|---|
| pack-priv volatile long requested | |
| REQUESTED | back to summary |
|---|---|
pack-priv static final AtomicLongFieldUpdater<FluxPublish.
| |
| PubSubInner | back to summary |
|---|---|
| pack-priv PubSubInner(CoreSubscriber<? super T> actual) | |
| actual | back to summary |
|---|---|
| public final CoreSubscriber Implements reactor.
| |
| cancel | back to summary |
|---|---|
| public final void cancel() Implements org. Doc from org. Request the Data may still be sent to meet previously signalled demand after calling cancel.
| |
| drainParent | back to summary |
|---|---|
| pack-priv abstract void drainParent() | |
| isCancelled | back to summary |
|---|---|
| pack-priv final boolean isCancelled() | |
| removeAndDrainParent | back to summary |
|---|---|
| pack-priv abstract void removeAndDrainParent() | |
| request | back to summary |
|---|---|
| public final 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 | |