public static final class MultiFlatMapOp.FlatMapMainSubscriber<I,O> extends Object implements MultiSubscriber<I>, org.reactivestreams.Subscription
| Modifier and Type | Field and Description |
|---|---|
protected AtomicReference<T[]> |
inners |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
onCompletion()
Method called when the upstream emits a
completion terminal event. |
void |
onFailure(Throwable failure)
Method called when the upstream emits a
failure terminal event. |
void |
onItem(I item)
Method called when the upstream emits an
item event, in response to to requests to
Subscription.request(long). |
void |
onSubscribe(org.reactivestreams.Subscription s) |
void |
request(long n) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonComplete, onError, onNextprotected AtomicReference<T[]> inners
public void request(long n)
request in interface org.reactivestreams.Subscriptionpublic void cancel()
cancel in interface org.reactivestreams.Subscriptionpublic void onSubscribe(org.reactivestreams.Subscription s)
onSubscribe in interface org.reactivestreams.Subscriber<I>public void onItem(I item)
MultiSubscriberitem event, in response to to requests to
Subscription.request(long).onItem in interface MultiSubscriber<I>item - the item, must not be null.public void onFailure(Throwable failure)
MultiSubscriberfailure terminal event.
No further events will be sent even if Subscription.request(long) is invoked again.
onFailure in interface MultiSubscriber<I>failure - the failure, must not be null.public void onCompletion()
MultiSubscribercompletion terminal event.
No further events will be sent even if Subscription.request(long) is invoked again.
onCompletion in interface MultiSubscriber<I>Copyright © 2019–2020 SmallRye. All rights reserved.