I
- the type of item from upstreamO
- the type of item propagated to the downstreampublic class SerializedProcessor<I,O> extends Object implements org.reactivestreams.Processor<I,O>
Constructor and Description |
---|
SerializedProcessor(org.reactivestreams.Processor<I,O> actual)
Constructor that wraps an actual processor.
|
Modifier and Type | Method and Description |
---|---|
void |
dispatch(List<Object> queue,
org.reactivestreams.Subscriber<I> subscriber)
Dispatches the events contained in the queue to the given subscriber.
|
void |
onComplete() |
void |
onError(Throwable t) |
void |
onNext(I item) |
void |
onSubscribe(org.reactivestreams.Subscription s) |
void |
subscribe(org.reactivestreams.Subscriber<? super O> downstream) |
public void subscribe(org.reactivestreams.Subscriber<? super O> downstream)
subscribe
in interface org.reactivestreams.Publisher<O>
public void onSubscribe(org.reactivestreams.Subscription s)
onSubscribe
in interface org.reactivestreams.Subscriber<I>
public void onNext(I item)
onNext
in interface org.reactivestreams.Subscriber<I>
public void onError(Throwable t)
onError
in interface org.reactivestreams.Subscriber<I>
public void onComplete()
onComplete
in interface org.reactivestreams.Subscriber<I>
Copyright © 2019–2020 SmallRye. All rights reserved.