| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final Consumer | |
| pack-priv final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | FluxOnBackpressureBuffer(Flux<? extends O> source, int bufferSize, boolean unbounded, Consumer<? super O> onOverflow)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | getPrefetch()
Overrides reactor. Flux
|
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Overrides reactor. Implements reactor. |
| public CoreSubscriber | subscribeOrReturn(CoreSubscriber<? super O> actual)
Implements abstract reactor. Implements reactor. CoreSubscriber, or force
subscription encapsulation by returning null.
|
| bufferSize | back to summary |
|---|---|
| pack-priv final int bufferSize | |
| onOverflow | back to summary |
|---|---|
| pack-priv final Consumer<? super O> onOverflow | |
| unbounded | back to summary |
|---|---|
| pack-priv final boolean unbounded | |
| FluxOnBackpressureBuffer | back to summary |
|---|---|
| pack-priv FluxOnBackpressureBuffer(Flux<? extends O> source, int bufferSize, boolean unbounded, Consumer<? super O> onOverflow) | |
| 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. 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 CoreSubscriber | |
| pack-priv volatile boolean | |
| pack-priv final int | |
| pack-priv final Context | |
| pack-priv static final AtomicIntegerFieldUpdater | |
| pack-priv volatile int | |
| pack-priv volatile boolean | |
| pack-priv volatile boolean | |
| pack-priv Throwable | |
| pack-priv final Consumer | |
| pack-priv final Queue | |
| pack-priv volatile long | |
| pack-priv static final AtomicLongFieldUpdater | |
| pack-priv Subscription | |
| pack-priv volatile int | |
| pack-priv static final AtomicIntegerFieldUpdater |
| Access | Constructor and Description |
|---|---|
| pack-priv | BackpressureBufferSubscriber(CoreSubscriber<? super T> actual, int bufferSize, boolean unbounded, Consumer<? super T> onOverflow)
|
| Modifier and Type | Method and Description |
|---|---|
| public CoreSubscriber | |
| public void | cancel()
Implements org. Publisher to stop sending data and clean up resources.
|
| pack-priv boolean | |
| public void | clear()
Implements java. |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public boolean | isEmpty()
Implements java. true if this collection contains no elements.
|
| 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 T | poll()
Implements java. null if this queue is empty.
|
| 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 int | requestFusion(int
the mode requested by the intermediate operator requestedMode)Implements reactor. |
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Overrides default reactor. Implements reactor. |
| public int |
| actual | back to summary |
|---|---|
| pack-priv final CoreSubscriber<? super T> actual | |
| cancelled | back to summary |
|---|---|
| pack-priv volatile boolean cancelled | |
| capacityOrSkip | back to summary |
|---|---|
| pack-priv final int capacityOrSkip | |
| ctx | back to summary |
|---|---|
| pack-priv final Context ctx | |
| DISCARD_GUARD | back to summary |
|---|---|
pack-priv static final AtomicIntegerFieldUpdater<FluxOnBackpressureBuffer.
| |
| discardGuard | back to summary |
|---|---|
| pack-priv volatile int discardGuard | |
| done | back to summary |
|---|---|
| pack-priv volatile boolean done | |
| enabledFusion | back to summary |
|---|---|
| pack-priv volatile boolean enabledFusion | |
| error | back to summary |
|---|---|
| pack-priv Throwable error | |
| onOverflow | back to summary |
|---|---|
| pack-priv final Consumer<? super T> onOverflow | |
| queue | back to summary |
|---|---|
| pack-priv final Queue<T> queue | |
| requested | back to summary |
|---|---|
| pack-priv volatile long requested | |
| REQUESTED | back to summary |
|---|---|
pack-priv static final AtomicLongFieldUpdater<FluxOnBackpressureBuffer.
| |
| s | back to summary |
|---|---|
| pack-priv Subscription s | |
| wip | back to summary |
|---|---|
| pack-priv volatile int wip | |
| WIP | back to summary |
|---|---|
pack-priv static final AtomicIntegerFieldUpdater<FluxOnBackpressureBuffer.
| |
| BackpressureBufferSubscriber | back to summary |
|---|---|
| pack-priv BackpressureBufferSubscriber(CoreSubscriber<? super T> actual, int bufferSize, boolean unbounded, Consumer<? super T> onOverflow) | |
| 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.
| |
| checkTerminated | back to summary |
|---|---|
| pack-priv boolean checkTerminated(boolean d, boolean empty, Subscriber<? super T> a, T v) | |
| 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.
| |
| drain | back to summary |
|---|---|
| pack-priv void drain(T dataSignal) | |
| drainFused | back to summary |
|---|---|
| pack-priv void drainFused(Subscriber<? super T> a) | |
| drainRegular | back to summary |
|---|---|
| pack-priv void drainRegular(Subscriber<? super T> a) | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements java. Doc from java. Returns
| |
| 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
| |
| poll | back to summary |
|---|---|
| public T poll() Implements java. Doc from java. Retrieves and removes the head of this queue,
or returns | |
| 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 | |
| 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.
| |
| 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 | |
| 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
| |