Deprecated
Processors will be removed in 3.5. Prefer using Many instead,
or see https://github.com/reactor/reactor-core/issues/2431 for alternatives
Flux API for Processor.
Implementors include UnicastProcessor, EmitterProcessor, ReplayProcessor.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Context | currentContext()
Overrides default reactor. Implements reactor. Context from dependent components which can include downstream
operators during subscribing or a terminal org..
|
| public void | dispose()
Implements reactor. |
| public long | Returns: the number of activeSubscriber or -1 if untrackedReturn the number of active |
| public int | Returns: processor buffer capacity if any orInteger#MAX_VALUEReturn the processor buffer capacity if any or |
| public Throwable | |
| public final boolean | |
| public boolean | Returns: true if anySubscriber is actively subscribedReturn true if any |
| public final boolean | |
| public Stream | inners()
Overrides default reactor. Stream of referenced inners (flatmap, multicast etc)
|
| protected boolean | |
| public boolean | Returns: true if thisFluxProcessor supports multithread producingReturn true if this |
| public boolean | Returns: has this upstream finished or "completed" / "failed" ?Has this upstream finished or "completed" / "failed" ? |
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Implements reactor. |
| public final FluxProcessor | Returns: a serializingFluxProcessor
Deprecated
as a consequence of
Create a FluxProcessor being deprecated.
FluxProcessor that safely gates multi-threaded producer
Subscriber#onNext(Object).
|
| protected boolean | Returns: true to serialize any sink, false to delay serialization till onRequestReturns serialization strategy. |
| public final FluxSink | Returns: a serializingFluxSink
Deprecated
To be removed in 3.5, prefer clear cut usage of
Create a Sinks
through the Sinks#many() spec.
FluxSink that safely gates multi-threaded producer
Subscriber#onNext(Object).
|
| public final FluxSink | Returns: a serializingFluxSinkthe overflow strategy, see strategyFluxSink.
for the
available strategies
Deprecated
To be removed in 3.5, prefer clear cut usage of
Create a Sinks
through the Sinks#many() spec.
FluxSink that safely gates multi-threaded producer
Subscriber#onNext(Object).
|
| public static < the produced type T> FluxProcessor | Returns: aFluxProcessor accepting publishers and producing T
Deprecated
should use
Build a Sinks, Many#asFlux() and Flux#switchOnNext(Publisher).
FluxProcessor whose data are emitted by the most recent emitted Publisher.
|
| public static < the receiving type IN, the producing type OUT> FluxProcessor | Returns: a new blackboxedFluxProcessorthe upstream subscriber upstream, final Publisher<OUT> the downstream publisher downstream)
Deprecated
as a consequence of
Transform a receiving FluxProcessor being deprecated.
Subscriber and a producing Publisher in a logical FluxProcessor.
|
| FluxProcessor | back to summary |
|---|---|
| public FluxProcessor() | |
| currentContext | back to summary |
|---|---|
| public Context currentContext() Overrides default reactor. Implements reactor. Doc from reactor. Request a
| |
| dispose | back to summary |
|---|---|
| public void dispose() Implements reactor. Doc from reactor. Cancel or dispose the underlying task or resource. Implementations are required to make this method idempotent.
| |
| downstreamCount | back to summary |
|---|---|
| public long downstreamCount() Return the number of active
| |
| getBufferSize | back to summary |
|---|---|
| public int getBufferSize() Return the processor buffer capacity if any or
| |
| getError | back to summary |
|---|---|
| public Throwable getError() Current error if any, default to null | |
| hasCompleted | back to summary |
|---|---|
| public final boolean hasCompleted() Return true if terminated with onComplete
| |
| hasDownstreams | back to summary |
|---|---|
| public boolean hasDownstreams() Return true if any
| |
| hasError | back to summary |
|---|---|
| public final boolean hasError() Return true if terminated with onError
| |
| inners | back to summary |
|---|---|
| public Stream Overrides default reactor. Doc from reactor. Return a | |
| isIdentityProcessor | back to summary |
|---|---|
| protected boolean isIdentityProcessor() Return true if
| |
| isSerialized | back to summary |
|---|---|
| public boolean isSerialized() Return true if this
| |
| isTerminated | back to summary |
|---|---|
| public boolean isTerminated() Has this upstream finished or "completed" / "failed" ?
| |
| 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 | |
| serialize | back to summary |
|---|---|
| public final FluxProcessor Deprecated as a consequence of Create a Discard Support: The resulting processor discards elements received from the source
| |
| serializeAlways | back to summary |
|---|---|
| protected boolean serializeAlways() Returns serialization strategy. If true,
| |
| sink | back to summary |
|---|---|
| public final FluxSink Deprecated To be removed in 3.5, prefer clear cut usage of Create a The returned
| |
| sink | back to summary |
|---|---|
| public final FluxSink Deprecated To be removed in 3.5, prefer clear cut usage of Create a The returned
| |
| switchOnNext | back to summary |
|---|---|
| public static <T> FluxProcessor Deprecated should use Build a
| |
| wrap | back to summary |
|---|---|
| public static <IN, OUT> FluxProcessor Deprecated as a consequence of Transform a receiving
| |