public class MultiItemCombine6<T1,T2,T3,T4,T5,T6> extends MultiItemCombineIterable
| Constructor and Description |
|---|
MultiItemCombine6(Iterable<org.reactivestreams.Publisher<?>> iterable) |
| Modifier and Type | Method and Description |
|---|---|
Multi<Tuple6<T1,T2,T3,T4,T5,T6>> |
asTuple() |
MultiItemCombine6<T1,T2,T3,T4,T5,T6> |
collectFailures()
Configures the combination to wait until all the
streams to fire a completion or failure event
before propagating a failure downstream. |
MultiItemCombine6<T1,T2,T3,T4,T5,T6> |
latestItems()
By default, the combination logic is called with one item of each observed stream.
|
<O> Multi<O> |
using(Functions.Function6<T1,T2,T3,T4,T5,T6,O> combinator)
Creates the resulting
Multi. |
usingpublic MultiItemCombine6(Iterable<org.reactivestreams.Publisher<?>> iterable)
public MultiItemCombine6<T1,T2,T3,T4,T5,T6> collectFailures()
streams to fire a completion or failure event
before propagating a failure downstream.collectFailures in class MultiItemCombineIterableMultiItemCombine6public MultiItemCombine6<T1,T2,T3,T4,T5,T6> latestItems()
With this method, you can change this behavior and call the combination logic every time one of one of the observed streams emit an item. It would call the combination logic with this new item and the latest items emitted by the other streams. It wait until all the streams have emitted at least an item before calling the combination logic.
If one of the stream completes before having emitted a value, the produced streams also completes without emitting a value.
latestItems in class MultiItemCombineIterableMultiItemCombine6public Multi<Tuple6<T1,T2,T3,T4,T5,T6>> asTuple()
Multi. The items are combined into a Tuple6<T1, T2, T3, T4, T5, T6>.public <O> Multi<O> using(Functions.Function6<T1,T2,T3,T4,T5,T6,O> combinator)
Multi. The items are combined using the given combinator function.O - the type of itemcombinator - the combinator function, must not be nullMulti.Copyright © 2019–2020 SmallRye. All rights reserved.