| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Consumer |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static <T> FluxDoOnEach. | createSubscriber(CoreSubscriber<? super T> actual, Consumer<? super Signal<T>> onSignal, boolean fuseable, boolean isMono)
|
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Overrides reactor. Implements reactor. |
| public CoreSubscriber | subscribeOrReturn(CoreSubscriber<? super T> actual)
Implements abstract reactor. Implements reactor. CoreSubscriber, or force
subscription encapsulation by returning null.
|
| onSignal | back to summary |
|---|---|
| pack-priv final Consumer<? super Signal<T>> onSignal | |
| FluxDoOnEach | back to summary |
|---|---|
| pack-priv FluxDoOnEach(Flux<? extends T> source, Consumer<? super Signal<T>> onSignal) | |
| createSubscriber | back to summary |
|---|---|
pack-priv static <T> FluxDoOnEach.
| |
| 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
| |
| Access | Constructor and Description |
|---|---|
| pack-priv | DoOnEachConditionalSubscriber(Fuseable.
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | tryOnNext(T
the value to consume, not null t)Implements reactor. |
| DoOnEachConditionalSubscriber | back to summary |
|---|---|
| pack-priv DoOnEachConditionalSubscriber(Fuseable. | |
| tryOnNext | back to summary |
|---|---|
| public boolean tryOnNext(T t) Implements reactor. Doc from reactor. Try consuming the value and return true if successful.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv | DoOnEachFuseableConditionalSubscriber(Fuseable.
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | tryOnNext(T
the value to consume, not null t)Implements reactor. |
| DoOnEachFuseableConditionalSubscriber | back to summary |
|---|---|
| pack-priv DoOnEachFuseableConditionalSubscriber(Fuseable. | |
| tryOnNext | back to summary |
|---|---|
| public boolean tryOnNext(T t) Implements reactor. Doc from reactor. Try consuming the value and return true if successful.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv | DoOnEachFuseableSubscriber(CoreSubscriber<? super T> actual, Consumer<? super Signal<T>> onSignal, boolean isMono)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Implements java. |
| public boolean | isEmpty()
Implements java. true if this collection contains no elements.
|
| public void | onNext(T
the element signaled t)Overrides reactor. Implements org. Publisher in response to requests to Subscription#request(long).
|
| public T | poll()
Implements java. null if this queue is empty.
|
| public int | requestFusion(int
the mode requested by the intermediate operator mode)Implements reactor. |
| public int |
| fusionMode | back to summary |
|---|---|
| pack-priv int fusionMode | |
| DoOnEachFuseableSubscriber | back to summary |
|---|---|
| pack-priv DoOnEachFuseableSubscriber(CoreSubscriber<? super T> actual, Consumer<? super Signal<T>> onSignal, boolean isMono) | |
| clear | back to summary |
|---|---|
| public void clear() Implements java. Doc from java. Removes all of the elements from this collection (optional operation). The collection will be empty after this method returns.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements java. Doc from java. Returns
| |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Overrides reactor. Implements org. Doc from org. Data notification sent by the
| |
| poll | back to summary |
|---|---|
| public T poll() Implements java. Doc from java. Retrieves and removes the head of this queue,
or returns | |
| requestFusion | back to summary |
|---|---|
| public int requestFusion(int mode) Implements reactor. Doc from reactor. Request a specific fusion mode from this QueueSubscription. One should request either SYNC, ASYNC or ANY modes (never NONE) and the implementor should return NONE, SYNC or ASYNC (never ANY). For example, if a source supports only ASYNC fusion but the intermediate operator supports only SYNC fuseable sources, the operator may request SYNC fusion and the source can reject it via NONE, thus the operator can return NONE as well to downstream and the fusion doesn't happen.
| |
| size | back to summary |
|---|---|
| public int size() Implements java. Doc from java. Returns the number of elements in this collection. If this collection
contains more than
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final CoreSubscriber | |
| pack-priv final Context | |
| pack-priv final Consumer | |
| pack-priv Fuseable. | |
| pack-priv Subscription | |
| pack-priv short | |
| pack-priv static final short | |
| pack-priv static final short | |
| pack-priv static final short | |
| pack-priv static final short | |
| pack-priv T |
| Access | Constructor and Description |
|---|---|
| pack-priv | DoOnEachSubscriber(CoreSubscriber<? super T> actual, Consumer<? super Signal<T>> onSignal, boolean monoFlavor)
|
| Modifier and Type | Method and Description |
|---|---|
| public CoreSubscriber | |
| public void | cancel()
Implements org. Publisher to stop sending data and clean up resources.
|
| public Context | currentContext()
Overrides default reactor. Context from dependent components which can include downstream
operators during subscribing or a terminal org..
|
| public T | get()
Implements reactor. |
| public ContextView | getContextView()
Implements reactor. ContextView that is accessible by the time this Signal was
emitted.
|
| public Subscription | getSubscription()
Implements reactor. |
| public Throwable | getThrowable()
Implements reactor. |
| public SignalType | getType()
Implements reactor. SignalType#ON_SUBSCRIBE,
SignalType#ON_NEXT, SignalType#ON_ERROR, or
SignalType#ON_COMPLETE
|
| 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. |
| public String |
| actual | back to summary |
|---|---|
| pack-priv final CoreSubscriber<? super T> actual | |
| cachedContext | back to summary |
|---|---|
| pack-priv final Context cachedContext | |
| onSignal | back to summary |
|---|---|
| pack-priv final Consumer<? super Signal<T>> onSignal | |
| qs | back to summary |
|---|---|
| pack-priv Fuseable. | |
| s | back to summary |
|---|---|
| pack-priv Subscription s | |
| state | back to summary |
|---|---|
| pack-priv short state | |
| STATE_DONE | back to summary |
|---|---|
| pack-priv static final short STATE_DONE | |
| STATE_FLUX_START | back to summary |
|---|---|
| pack-priv static final short STATE_FLUX_START | |
| STATE_MONO_START | back to summary |
|---|---|
| pack-priv static final short STATE_MONO_START | |
| STATE_SKIP_HANDLER | back to summary |
|---|---|
| pack-priv static final short STATE_SKIP_HANDLER | |
| t | back to summary |
|---|---|
| pack-priv T t | |
| DoOnEachSubscriber | back to summary |
|---|---|
| pack-priv DoOnEachSubscriber(CoreSubscriber<? super T> actual, Consumer<? super Signal<T>> onSignal, boolean monoFlavor) | |
| 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.
| |
| currentContext | back to summary |
|---|---|
| public Context currentContext() Overrides default reactor. Doc from reactor. Request a
| |
| get | back to summary |
|---|---|
| public T get() Implements reactor. Doc from reactor. Retrieves the item associated with this (onNext) signal. | |
| getContextView | back to summary |
|---|---|
| public ContextView getContextView() Implements reactor. Doc from reactor. Return the readonly
| |
| getSubscription | back to summary |
|---|---|
| public Subscription getSubscription() Implements reactor. Doc from reactor. Read the subscription associated with this (onSubscribe) signal.
| |
| getThrowable | back to summary |
|---|---|
| public Throwable getThrowable() Implements reactor. Doc from reactor. Read the error associated with this (onError) signal. | |
| getType | back to summary |
|---|---|
| public SignalType getType() Implements reactor. Doc from reactor. Read the type of this signal:
| |
| 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 | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |