Deprecated
as a consequence of DirectInnerContainer being deprecated. See corresponding docs for further information.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final boolean | |
| pack-priv static final SinkManyBestEffort. | |
| pack-priv Throwable | error
Stores the error that terminated this sink, for immediate replay to late subscribers |
| pack-priv volatile SinkManyBestEffort. | |
| pack-priv static final AtomicReferenceFieldUpdater | |
| pack-priv static final SinkManyBestEffort. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the inner could be added, false if the publisher cannot accept new subscribersthe new sSinkManyBestEffort. to addImplements reactor. SinkManyBestEffort. to this publisher.
|
| public Flux | |
| pack-priv static final <T> SinkManyBestEffort | |
| pack-priv static final <T> SinkManyBestEffort | |
| public Context | currentContext()
Implements reactor. Context from dependent components which can include downstream
operators during subscribing or a terminal org..
|
| public int | currentSubscriberCount()
Implements reactor. Subscribers are currently subscribed to the sink.
|
| public Stream | inners()
Overrides default reactor. Stream of referenced inners (flatmap, multicast etc)
|
| public void | remove(SinkManyBestEffort.
the sSinkManyBestEffort. to removeImplements reactor. SinkManyBestEffort. from this publisher.
|
| 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.
|
| public Sinks. | tryEmitComplete()
Implements reactor. onComplete
signal.
|
| public Sinks. | tryEmitError(Throwable
the exception to signal, not null error)Implements reactor. onError
signal.
|
| public Sinks. | tryEmitNext(T
the value to emit, not null t)Implements reactor. onNext signal.
|
| allOrNothing | back to summary |
|---|---|
| pack-priv final boolean allOrNothing | |
| EMPTY | back to summary |
|---|---|
| pack-priv static final SinkManyBestEffort. | |
| error | back to summary |
|---|---|
| pack-priv Throwable error Stores the error that terminated this sink, for immediate replay to late subscribers | |
| subscribers | back to summary |
|---|---|
| pack-priv volatile SinkManyBestEffort. | |
| SUBSCRIBERS | back to summary |
|---|---|
pack-priv static final AtomicReferenceFieldUpdater<SinkManyBestEffort<T>, SinkManyBestEffort.
| |
| TERMINATED | back to summary |
|---|---|
| pack-priv static final SinkManyBestEffort. | |
| SinkManyBestEffort | back to summary |
|---|---|
| pack-priv SinkManyBestEffort(boolean allOrNothing) | |
| add | back to summary |
|---|---|
| public boolean add(SinkManyBestEffort. Implements reactor. Add a new
| |
| asFlux | back to summary |
|---|---|
| public Flux Implements reactor. Doc from reactor. Return a
| |
| createAllOrNothing | back to summary |
|---|---|
| pack-priv static final <T> SinkManyBestEffort Deprecated as a consequence of | |
| createBestEffort | back to summary |
|---|---|
| pack-priv static final <T> SinkManyBestEffort Deprecated as a consequence of | |
| currentContext | back to summary |
|---|---|
| public Context currentContext() Implements reactor. Doc from reactor. Request a
| |
| currentSubscriberCount | back to summary |
|---|---|
| public int currentSubscriberCount() Implements reactor. Doc from reactor. Get how many
This is a best effort peek at the sink state, and a subsequent attempt at emitting
to the sink might still return
| |
| inners | back to summary |
|---|---|
| public Stream Overrides default reactor. Doc from reactor. Return a | |
| remove | back to summary |
|---|---|
| public void remove(SinkManyBestEffort. Implements reactor. Remove an
| |
| 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
| |
| tryEmitComplete | back to summary |
|---|---|
| public Sinks. Implements reactor. Doc from reactor. Try to terminate the sequence successfully, generating an
See the list of failure
| |
| tryEmitError | back to summary |
|---|---|
| public Sinks. Implements reactor. Doc from reactor. Try to fail the sequence, generating an
See the list of failure
| |
| tryEmitNext | back to summary |
|---|---|
| public Sinks. Implements reactor. Doc from reactor. Try emitting a non-null element, generating an
See the list of failure Might throw an unchecked exception as a last resort (eg. in case of a fatal error downstream which cannot be propagated to any asynchronous handler, a bubbling exception, ...).
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final CoreSubscriber | |
| pack-priv final DirectInnerContainer | parent
Deprecated
as a consequence of
DirectInnerContainer being deprecated.
|
| pack-priv volatile long | |
| pack-priv static final AtomicLongFieldUpdater |
| Access | Constructor and Description |
|---|---|
| pack-priv | DirectInner(CoreSubscriber<? super T> actual, DirectInnerContainer<T> parent)
Deprecated
as a consequence of
DirectInnerContainer being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public CoreSubscriber | |
| public void | cancel()
Implements org. Publisher to stop sending data and clean up resources.
|
| pack-priv void | directEmitNext(T
the value to emit value)Emit a value to the downstream, unless it doesn't have sufficient demand. |
| pack-priv void | |
| pack-priv void | |
| pack-priv boolean | |
| 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. |
| pack-priv boolean | Returns: true if enough demand and not cancelled, false otherwisethe value to emit value)Try to emit if the downstream is not cancelled and has some demand. |
| actual | back to summary |
|---|---|
| pack-priv final CoreSubscriber<? super T> actual | |
| parent | back to summary |
|---|---|
| pack-priv final DirectInnerContainer<T> parent
Deprecated as a consequence of | |
| requested | back to summary |
|---|---|
| pack-priv volatile long requested | |
| REQUESTED | back to summary |
|---|---|
pack-priv static final AtomicLongFieldUpdater<SinkManyBestEffort.
| |
| DirectInner | back to summary |
|---|---|
| pack-priv DirectInner(CoreSubscriber<? super T> actual, DirectInnerContainer<T> parent)
Deprecated as a consequence of | |
| 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.
| |
| directEmitNext | back to summary |
|---|---|
| pack-priv void directEmitNext(T value) Emit a value to the downstream, unless it doesn't have sufficient demand.
In that case, the downstream is terminated with an
| |
| emitComplete | back to summary |
|---|---|
| pack-priv void emitComplete() | |
| emitError | back to summary |
|---|---|
| pack-priv void emitError(Throwable e) | |
| isCancelled | back to summary |
|---|---|
| pack-priv boolean isCancelled() | |
| 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 | |
| tryEmitNext | back to summary |
|---|---|
| pack-priv boolean tryEmitNext(T value) Try to emit if the downstream is not cancelled and has some demand.
| |