public static final class MultiTakeUntilOtherOp.TakeUntilMainProcessor<T> extends MultiOperatorProcessor<T,T>
downstream, upstream| Constructor and Description |
|---|
TakeUntilMainProcessor(org.reactivestreams.Subscriber<? super T> downstream) |
| 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). |
void |
onOtherCompletion() |
void |
onOtherFailure(Throwable failure) |
isCancelled, isDone, onSubscribe, requestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonComplete, onError, onNextpublic TakeUntilMainProcessor(org.reactivestreams.Subscriber<? super T> downstream)
public void cancel()
cancel in interface org.reactivestreams.Subscriptioncancel in class MultiOperatorProcessor<T,T>public 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 onOtherFailure(Throwable failure)
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 onOtherCompletion()
Copyright © 2019–2020 SmallRye. All rights reserved.