public static interface Sinks.UnicastSpec
Subscriber
限定符和类型 | 方法和说明 |
---|---|
<T> Sinks.Many<T> |
onBackpressureBuffer()
A
Sinks.Many with the following characteristics:
Unicast: contrary to most other Sinks.Many , the
Flux view rejects subscribers past the first one. |
<T> Sinks.Many<T> |
onBackpressureBuffer(java.util.Queue<T> queue)
A
Sinks.Many with the following characteristics:
Unicast: contrary to most other Sinks.Many , the
Flux view rejects subscribers past the first one. |
<T> Sinks.Many<T> |
onBackpressureBuffer(java.util.Queue<T> queue,
Disposable endCallback)
A
Sinks.Many with the following characteristics:
Unicast: contrary to most other Sinks.Many , the
Flux view rejects subscribers past the first one. |
<T> Sinks.Many<T> |
onBackpressureError()
A
Sinks.Many with the following characteristics:
Unicast: contrary to most other Sinks.Many , the
Flux view rejects subscribers past the first one. |
<T> Sinks.Many<T> onBackpressureBuffer()
Sinks.Many
with the following characteristics:
Sinks.Many
, the
Flux
view rejects subscribers
past the first one.Subscriber
.Subscriber
can register.Subscriber
: all elements pushed to this sink are remembered and will
be replayed once the Subscriber
subscribes.<T> Sinks.Many<T> onBackpressureBuffer(java.util.Queue<T> queue)
Sinks.Many
with the following characteristics:
Sinks.Many
, the
Flux
view rejects subscribers
past the first one.Subscriber
.Subscriber
can register.Subscriber
: depending on the queue, all elements pushed to this sink are remembered and will
be replayed once the Subscriber
subscribes.queue
- an arbitrary queue to use that must at least support Single Producer / Single Consumer semantics<T> Sinks.Many<T> onBackpressureBuffer(java.util.Queue<T> queue, Disposable endCallback)
Sinks.Many
with the following characteristics:
Sinks.Many
, the
Flux
view rejects subscribers
past the first one.Subscriber
.Subscriber
can register.Subscriber
: depending on the queue, all elements pushed to this sink are remembered and will
be replayed once the Subscriber
subscribes.queue
- an arbitrary queue to use that must at least support Single Producer / Single Consumer semanticsendCallback
- when a terminal signal is observed: error, complete or cancel<T> Sinks.Many<T> onBackpressureError()
Sinks.Many
with the following characteristics:
Sinks.Many
, the
Flux
view rejects subscribers
past the first one.Subscriber.onError(Throwable)
if there is a mismatch.Subscriber
the elements that have been
pushed to the sink AFTER this subscriber was subscribed.