public static final class MultiGroupByOp.MultiGroupByProcessor<T,K,V> extends MultiOperatorProcessor<T,GroupedMulti<K,V>>
downstream, upstream| Constructor and Description |
|---|
MultiGroupByProcessor(MultiSubscriber<? super GroupedMulti<K,V>> downstream,
Function<? super T,? extends K> keySelector,
Function<? super T,? extends V> valueSelector,
Map<Object,io.smallrye.mutiny.operators.multi.MultiGroupByOp.GroupedUnicast<K,V>> groups) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
cancel(K key) |
void |
onCompletion()
Method called when the upstream emits a
completion terminal event. |
void |
onFailure(Throwable throwable)
Method called when the upstream emits a
failure terminal event. |
void |
onItem(T item)
Method called when the upstream emits an
item event, in response to to requests to
Subscription.request(long). |
void |
onSubscribe(org.reactivestreams.Subscription subscription) |
void |
request(long n) |
isCancelled, isDoneclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonComplete, onError, onNextpublic void onSubscribe(org.reactivestreams.Subscription subscription)
onSubscribe in interface org.reactivestreams.Subscriber<T>onSubscribe in class MultiOperatorProcessor<T,GroupedMulti<K,V>>public void onItem(T item)
MultiSubscriberitem event, in response to to requests to
Subscription.request(long).onItem in interface MultiSubscriber<T>onItem in class MultiOperatorProcessor<T,GroupedMulti<K,V>>item - the item, must not be null.public void onFailure(Throwable throwable)
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,GroupedMulti<K,V>>throwable - 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,GroupedMulti<K,V>>public void request(long n)
request in interface org.reactivestreams.Subscriptionrequest in class MultiOperatorProcessor<T,GroupedMulti<K,V>>public void cancel()
cancel in interface org.reactivestreams.Subscriptioncancel in class MultiOperatorProcessor<T,GroupedMulti<K,V>>public void cancel(K key)
Copyright © 2019–2020 SmallRye. All rights reserved.