reactor.core.Fuseable generic per-Subscription side effect Flux that notifies a
SignalListener of most events.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final STATE | |
| pack-priv final SignalListenerFactory |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| 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 T> actual)
Implements abstract reactor. Implements reactor. CoreSubscriber, or force
subscription encapsulation by returning null.
|
| commonTapState | back to summary |
|---|---|
| pack-priv final STATE commonTapState | |
| tapFactory | back to summary |
|---|---|
| pack-priv final SignalListenerFactory<T, STATE> tapFactory | |
| FluxTapFuseable | back to summary |
|---|---|
| pack-priv FluxTapFuseable(Flux<? extends T> source, SignalListenerFactory<T, STATE> tapFactory) | |
| 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 final Fuseable. |
| Access | Constructor and Description |
|---|---|
| public | TapConditionalFuseableSubscriber(Fuseable.
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | tryOnNext(T
the value to consume, not null t)Implements reactor. |
| actualConditional | back to summary |
|---|---|
| pack-priv final Fuseable. | |
| TapConditionalFuseableSubscriber | back to summary |
|---|---|
| public TapConditionalFuseableSubscriber(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 | |
| pack-priv Fuseable. |
| Access | Constructor and Description |
|---|---|
| pack-priv | TapFuseableSubscriber(CoreSubscriber<? super T> actual, SignalListener<T> signalListener, Context ctx)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Implements java. |
| protected RuntimeException | handleObserverErrorInPoll(Throwable
the exception thrown from a handler method listenerError)Cancel the active subscription, pass the listener error to |
| protected RuntimeException | handleObserverErrorMultipleInPoll(Throwable
the exception thrown from a handler method listenerError, RuntimeException the exception that was about to be thrown from poll when handler was invoked pollError)Cancel the active subscription, pass the listener error to |
| 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 void | onSubscribe(Subscription
the s)Subscription that allows requesting data via Subscription#request(long)Overrides reactor. Implements reactor. onNext(Object) before
calling 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 requestedMode)Implements reactor. |
| public int |
| mode | back to summary |
|---|---|
| pack-priv int mode | |
| qs | back to summary |
|---|---|
| pack-priv Fuseable. | |
| TapFuseableSubscriber | back to summary |
|---|---|
| pack-priv TapFuseableSubscriber(CoreSubscriber<? super T> actual, SignalListener<T> signalListener, Context ctx) | |
| 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.
| |
| handleObserverErrorInPoll | back to summary |
|---|---|
| protected RuntimeException handleObserverErrorInPoll(Throwable listenerError) Cancel the active subscription, pass the listener error to
| |
| handleObserverErrorMultipleInPoll | back to summary |
|---|---|
| protected RuntimeException handleObserverErrorMultipleInPoll(Throwable listenerError, RuntimeException pollError) Cancel the active subscription, pass the listener error to
| |
| 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
| |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Subscription s) Overrides reactor. 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
| |
| 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 requestedMode) 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
| |