Class MultiSelectFirstUntilOtherOp.TakeUntilMainProcessor<T>
- java.lang.Object
-
- io.smallrye.mutiny.operators.multi.MultiOperatorProcessor<T,T>
-
- io.smallrye.mutiny.operators.multi.MultiSelectFirstUntilOtherOp.TakeUntilMainProcessor<T>
-
- All Implemented Interfaces:
MultiSubscriber<T>,org.reactivestreams.Subscriber<T>,org.reactivestreams.Subscription
- Enclosing class:
- MultiSelectFirstUntilOtherOp<T,U>
public static final class MultiSelectFirstUntilOtherOp.TakeUntilMainProcessor<T> extends MultiOperatorProcessor<T,T>
-
-
Field Summary
-
Fields inherited from class io.smallrye.mutiny.operators.multi.MultiOperatorProcessor
downstream, upstream
-
-
Constructor Summary
Constructors Constructor Description TakeUntilMainProcessor(org.reactivestreams.Subscriber<? super T> downstream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()voidonCompletion()Method called when the upstream emits acompletionterminal event.voidonFailure(java.lang.Throwable failure)Method called when the upstream emits afailureterminal event.voidonItem(T t)Method called when the upstream emits anitemevent, in response to to requests toSubscription.request(long).voidonOtherCompletion()voidonOtherFailure(java.lang.Throwable failure)-
Methods inherited from class io.smallrye.mutiny.operators.multi.MultiOperatorProcessor
cleanup, isCancelled, isDone, onSubscribe, request
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.smallrye.mutiny.subscription.MultiSubscriber
onComplete, onError, onNext
-
-
-
-
Constructor Detail
-
TakeUntilMainProcessor
public TakeUntilMainProcessor(org.reactivestreams.Subscriber<? super T> downstream)
-
-
Method Detail
-
cancel
public void cancel()
- Specified by:
cancelin interfaceorg.reactivestreams.Subscription- Overrides:
cancelin classMultiOperatorProcessor<T,T>
-
onItem
public void onItem(T t)
Description copied from interface:MultiSubscriberMethod called when the upstream emits anitemevent, in response to to requests toSubscription.request(long).- Specified by:
onItemin interfaceMultiSubscriber<T>- Overrides:
onItemin classMultiOperatorProcessor<T,T>- Parameters:
t- the item, must not benull.
-
onFailure
public void onFailure(java.lang.Throwable failure)
Description copied from interface:MultiSubscriberMethod called when the upstream emits afailureterminal event.No further events will be sent even if
Subscription.request(long)is invoked again.- Specified by:
onFailurein interfaceMultiSubscriber<T>- Overrides:
onFailurein classMultiOperatorProcessor<T,T>- Parameters:
failure- the failure, must not benull.
-
onOtherFailure
public void onOtherFailure(java.lang.Throwable failure)
-
onCompletion
public void onCompletion()
Description copied from interface:MultiSubscriberMethod called when the upstream emits acompletionterminal event.No further events will be sent even if
Subscription.request(long)is invoked again.- Specified by:
onCompletionin interfaceMultiSubscriber<T>- Overrides:
onCompletionin classMultiOperatorProcessor<T,T>
-
onOtherCompletion
public void onOtherCompletion()
-
-