Sinks.ManyWithUpstream implementing
publish-subscribe with synchronous (thread-stealing and happen-before interactions)
drain loops.
The default create factories will only produce the new elements observed in
the parent sequence after a given Subscriber is subscribed.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final boolean | |
| pack-priv volatile boolean | |
| pack-priv static final FluxPublish. | |
| pack-priv volatile Throwable | |
| pack-priv static final AtomicReferenceFieldUpdater | |
| pack-priv final int | |
| pack-priv volatile Queue | |
| pack-priv volatile Subscription | |
| pack-priv static final AtomicReferenceFieldUpdater | |
| pack-priv int | |
| pack-priv volatile FluxPublish. | |
| pack-priv static final AtomicReferenceFieldUpdater | |
| pack-priv static final AtomicReferenceFieldUpdater | |
| pack-priv volatile SinkManyEmitterProcessor. | |
| pack-priv volatile int | |
| pack-priv static final AtomicIntegerFieldUpdater |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final boolean | |
| public Flux | |
| pack-priv boolean | |
| public Context | currentContext()
Overrides default reactor. 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.
|
| private boolean | |
| public void | dispose()
Implements reactor. |
| pack-priv final void | |
| pack-priv Throwable | |
| pack-priv int | Returns: the number of parked elements in the emitter backlog.Return the number of parked elements in the emitter backlog. |
| public int | getPrefetch()
Overrides reactor. Flux
|
| public Stream | inners()
Overrides default reactor. Stream of referenced inners (flatmap, multicast etc)
|
| pack-priv boolean | Returns: true if all subscribers have actually been cancelled and the processor auto shut down
|
| private boolean | |
| public boolean | isDisposed()
Overrides default reactor. |
| public boolean | Returns: has this upstream finished or "completed" / "failed" ?Has this upstream finished or "completed" / "failed" ? |
| public void | |
| public void | onError(Throwable
the throwable signaled throwable)Implements org. |
| public void | onNext(T
the element signaled t)Implements org. Publisher in response to requests to Subscription#request(long).
|
| public void | onSubscribe(final Subscription
the s)Subscription that allows requesting data via Subscription#request(long)Implements reactor. onNext(Object) before
calling Subscription#request(long).
|
| pack-priv final void | |
| 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 Disposable | subscribeTo(Publisher<? extends T> upstream)
Implements reactor. Sinks. to an upstream Publisher without
exposing it as a Subscriber at all.
|
| pack-priv FluxPublish. | |
| public Sinks. | tryEmitComplete()
Implements reactor. onComplete
signal.
|
| public Sinks. | tryEmitError(Throwable
the exception to signal, not null t)Implements reactor. onError
signal.
|
| public Sinks. | tryEmitNext(T
the value to emit, not null t)Implements reactor. onNext signal.
|