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:
ContextSupport
,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 void
cancel()
void
onCompletion()
Method called when the upstream emits acompletion
terminal event.void
onFailure(java.lang.Throwable failure)
Method called when the upstream emits afailure
terminal event.void
onItem(T t)
Method called when the upstream emits anitem
event, in response to to requests toSubscription.request(long)
.void
onOtherCompletion()
void
onOtherFailure(java.lang.Throwable failure)
-
Methods inherited from class io.smallrye.mutiny.operators.multi.MultiOperatorProcessor
cancelUpstream, compareAndSetUpstreamSubscription, compareAndSwapDownstreamCancellationRequest, context, getAndSetUpstreamSubscription, getUpstreamSubscription, 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:
cancel
in interfaceorg.reactivestreams.Subscription
- Overrides:
cancel
in classMultiOperatorProcessor<T,T>
-
onItem
public void onItem(T t)
Description copied from interface:MultiSubscriber
Method called when the upstream emits anitem
event, in response to to requests toSubscription.request(long)
.- Specified by:
onItem
in interfaceMultiSubscriber<T>
- Overrides:
onItem
in classMultiOperatorProcessor<T,T>
- Parameters:
t
- the item, must not benull
.
-
onFailure
public void onFailure(java.lang.Throwable failure)
Description copied from interface:MultiSubscriber
Method called when the upstream emits afailure
terminal event.No further events will be sent even if
Subscription.request(long)
is invoked again.- Specified by:
onFailure
in interfaceMultiSubscriber<T>
- Overrides:
onFailure
in 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:MultiSubscriber
Method called when the upstream emits acompletion
terminal event.No further events will be sent even if
Subscription.request(long)
is invoked again.- Specified by:
onCompletion
in interfaceMultiSubscriber<T>
- Overrides:
onCompletion
in classMultiOperatorProcessor<T,T>
-
onOtherCompletion
public void onOtherCompletion()
-
-