public class MultiReferenceCountSubscriber<T> extends MultiOperatorProcessor<T,T>
downstream, upstream| 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(T t)
Method called when the upstream emits an
item event, in response to to requests to
Subscription.request(long). |
isCancelled, isDone, onSubscribe, requestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonComplete, onError, onNextpublic void onItem(T t)
MultiSubscriberitem event, in response to to requests to
Subscription.request(long).onItem in interface MultiSubscriber<T>onItem in class MultiOperatorProcessor<T,T>t - 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<T>onFailure in class MultiOperatorProcessor<T,T>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<T>onCompletion in class MultiOperatorProcessor<T,T>public void cancel()
cancel in interface org.reactivestreams.Subscriptioncancel in class MultiOperatorProcessor<T,T>Copyright © 2019–2020 SmallRye. All rights reserved.