程序包 | 说明 |
---|---|
reactor.core.publisher |
限定符和类型 | 类和说明 |
---|---|
class |
EmitterProcessor<T>
已过时。
To be removed in 3.5. Prefer clear cut usage of
Sinks through
variations of Sinks.many().multicast().onBackpressureBuffer() .
If you really need the subscribe-to-upstream functionality of a Processor , switch
to Sinks.ManyWithUpstream with Sinks.unsafe() variants of Sinks.unsafe().manyWithUpstream() .
This processor was blocking in EmitterProcessor.onNext(Object) . This behaviour can be implemented with the Sinks API by calling
Sinks.Many.tryEmitNext(Object) and retrying, e.g.:
|
限定符和类型 | 方法和说明 |
---|---|
<T> Sinks.ManyWithUpstream<T> |
Sinks.ManyWithUpstreamUnsafeSpec.multicastOnBackpressureBuffer()
A
Sinks.ManyWithUpstream with the following characteristics:
Multicast
Without Subscriber : warm up. |
<T> Sinks.ManyWithUpstream<T> |
Sinks.ManyWithUpstreamUnsafeSpec.multicastOnBackpressureBuffer(int bufferSize,
boolean autoCancel)
A
Sinks.ManyWithUpstream with the following characteristics:
Multicast
Without Subscriber : warm up. |