Uses of Interface
io.smallrye.mutiny.Multi
Packages that use Multi
Package
Description
-
Uses of Multi in io.smallrye.mutiny
Subinterfaces of Multi in io.smallrye.mutinyModifier and TypeInterfaceDescriptioninterfaceGroupedMulti<K,T> A specialization ofMultiused by thegroupoperation.Methods in io.smallrye.mutiny that return MultiModifier and TypeMethodDescriptiondefault Multi<ItemWithContext<T>> Multi.attachContext()Materialize the context by attaching it to items using theItemWithContextwrapper class.Multi.cache()Creates a newMultithat subscribes to this upstream and caches all of its events and replays them, to all the downstream subscribers.Produces a newMultiinvoking the given @{code action} when anitemevent is received.Produces a newMultiinvoking the given @{code action} when anitemevent is received, but ignoring it in the callback.Multi.capDemandsTo(long max) Cap all downstream subscriber requests to a maximum value.Multi.capDemandsUsing(LongFunction<Long> function) Cap all downstream subscriber requests to a value computed by a function.default <O> Multi<O> Multi.concatMap(Function<? super T, ? extends Flow.Publisher<? extends O>> mapper) Produces aMulticontaining the items fromFlow.Publisherproduced by themapperfor each item emitted by thisMulti.default <O> Multi<O> Multi.flatMap(Function<? super T, ? extends Flow.Publisher<? extends O>> mapper) Produces aMulticontaining the items fromFlow.Publisherproduced by themapperfor each item emitted by thisMulti.Produces a newMultiinvoking the given callback when anitemevent is fired by the upstream.Produces a newMultiinvoking the given callback when anitemevent is fired by the upstream.Multi.log()Log events (onSubscribe, onItem, ...) as they come from the upstream or the subscriber, and derives the identifier from the upstream operator class "simple name".Log events (onSubscribe, onItem, ...) as they come from the upstream or the subscriber.default <O> Multi<O> default <R> Multi<R> Plug a user-defined operator that does not belong to the existing Mutiny API.Multi.runSubscriptionOn(Executor executor) Multi.toHotStream()Produces a newMultitransforming thisMultiinto a hot stream.Uni.toMulti()default <R> Multi<R> Multi.withContext(BiFunction<Multi<T>, Context, Multi<R>> builder) Materialize the subscriberContextfor a sub-pipeline.Method parameters in io.smallrye.mutiny with type arguments of type MultiModifier and TypeMethodDescriptiondefault <R> Multi<R> Plug a user-defined operator that does not belong to the existing Mutiny API.default <R> Multi<R> Plug a user-defined operator that does not belong to the existing Mutiny API.default <O> OAllows structuring the pipeline by creating a logic separation:default <R> Multi<R> Multi.withContext(BiFunction<Multi<T>, Context, Multi<R>> builder) Materialize the subscriberContextfor a sub-pipeline.default <R> Multi<R> Multi.withContext(BiFunction<Multi<T>, Context, Multi<R>> builder) Materialize the subscriberContextfor a sub-pipeline. -
Uses of Multi in io.smallrye.mutiny.groups
Methods in io.smallrye.mutiny.groups that return MultiModifier and TypeMethodDescriptionMultiItemCombine2.asTuple()MultiItemCombine3.asTuple()MultiItemCombine4.asTuple()MultiItemCombine5.asTuple()MultiItemCombine6.asTuple()MultiItemCombine7.asTuple()MultiItemCombine8.asTuple()MultiItemCombine9.asTuple()MultiRetry.atMost(long numberOfAttempts) UniRepeat.atMost(long times) Generates a stream, containing the items from the upstreamUni, resubscribed at mosttimestimes.MultiOverflow.buffer()When the downstream cannot keep up with the upstream emissions, instruct to use a bounded buffer of the default size to store the items until they are consumed.MultiOverflow.buffer(int size) When the downstream cannot keep up with the upstream emissions, instruct to use a buffer of sizesizeto store the items until they are consumed.MultiOverflowStrategy.buffer()When the downstream cannot keep up with the upstream emissions, instruct to use a bounded buffer of the default size to store the items until they are consumed.MultiOverflowStrategy.buffer(int size) When the downstream cannot keep up with the upstream emissions, instruct to use a buffer of sizesizeto store the items until they are consumed.MultiOverflow.bufferUnconditionally()When the downstream cannot keep up with the upstream emissions, instruct to use an unbounded buffer to store the items until they are consumed.MultiOverflowStrategy.bufferUnconditionally()When the downstream cannot keep up with the upstream emissions, instruct to use an unbounded buffer to store the items until they are consumed.<K> Multi<GroupedMulti<K, T>> <K> Multi<GroupedMulti<K, T>> <K,V> Multi <GroupedMulti<K, V>> MultiGroup.by(Function<? super T, ? extends K> keyMapper, Function<? super T, ? extends V> valueMapper) <K,V> Multi <GroupedMulti<K, V>> MultiGroup.by(Function<? super T, ? extends K> keyMapper, Function<? super T, ? extends V> valueMapper, long prefetch) Attaches an action executed when the subscription is cancelled.Produces a newMultiinvoking the given @{code action} when afailureevent is received.Produces a newMultiinvoking the given @{code action} when afailureevent is received.Produces a newMultiinvoking the given @{code action} when anitemevent is received.Produces a newMultiinvoking the given @{code action} when anitemevent is received, but ignoring it in the callback.MultiOnRequest.call(LongFunction<Uni<?>> mapper) Action when items are being requested.Action when items are being requested.MultiOnSubscribe.call(Function<? super Flow.Subscription, Uni<?>> action) Produces a newMultiinvoking the given @{code action} when thesubscriptionevent is received.Produces a newMultiinvoking the given @{code action} when thesubscriptionevent is received.MultiOnTerminate.call(BiFunction<Throwable, Boolean, Uni<?>> mapper) Attaches an action that is executed when theMultiemits a completion or a failure or when the subscriber cancels the subscription.Attaches an action that is executed when theMultiemits a completion or a failure or when the subscriber cancels the subscription.<O> Multi<O> Produces anMultiemitting the item events based on the upstream events but casted to the target class.<T> Multi<T> MultiCreate.completionStage(CompletionStage<? extends T> stage) <T> Multi<T> MultiCreate.completionStage(Supplier<? extends CompletionStage<? extends T>> supplier) MultiFlatten.concatenate()Produces aMulticontaining the items fromFlow.Publisherproduced by themapperfor each item emitted by thisMulti.MultiFlatten.concatenate(boolean prefetch) Produces aMulticontaining the items fromFlow.Publisherproduced by themapperfor each item emitted by thisMulti.<T> Multi<T> Creates aMultiusingFunction.apply(Object)on the subscription-boundContext(the mapper is called at subscription time).MultiIfEmpty.continueWith(Iterable<T> items) When the upstreamMulticompletes without having emitted items, continue with the given items.MultiIfEmpty.continueWith(Supplier<? extends Iterable<? extends T>> supplier) MultiIfEmpty.continueWith(T... items) When the upstreamMulticompletes without having emitted items, continue with the given items.MultiOnCompletion.continueWith(Iterable<T> items) When the upstreamMulticompletes, continue with the given items.MultiOnCompletion.continueWith(Supplier<? extends Iterable<? extends T>> supplier) MultiOnCompletion.continueWith(T... items) When the upstreamMulticompletes, continue with the given items.<I,T> Multi <T> MultiCreate.converter(io.smallrye.mutiny.converters.MultiConverter<I, T> converter, I instance) Creates a newMultifrom the passed instance with the passed converter.<T> Multi<T> <O> Multi<O> MultiOnItem.disjoint()Takes the items from the upstreamMultithat are eitherPublisher<O>,O[],Iterable<O>orMulti<O>and disjoint the items to obtain aMulti<O>.<O> Multi<O> UniOnItem.disjoint()Takes the items from the upstreamUnithat is either aPublisher<O>, anO[], anIterable<O>or aMulti<O>and disjoint the items to obtain aMulti<O>.MultiSelect.distinct()Selects all the distinct items from the upstream.MultiSelect.distinct(Comparator<? super T> comparator) Selects all the distinct items from the upstream.Selects all the distinct items from the upstream.MultiOverflow.drop()When the downstream cannot keep up with the upstream emissions, instruct to drop the item.MultiOverflowStrategy.drop()When the downstream cannot keep up with the upstream emissions, instruct to drop the item.MultiOverflow.dropPreviousItems()When the downstream cannot keep up with the upstream emissions, instruct to drop all previously buffered items.MultiOverflowStrategy.dropPreviousItems()When the downstream cannot keep up with the upstream emissions, instruct to drop all previously buffered items.<T> Multi<T> MultiCreate.emitter(Consumer<MultiEmitter<? super T>> consumer) LikeMultiCreate.emitter(Consumer, BackPressureStrategy)with theBackPressureStrategy.BUFFERstrategy.<T> Multi<T> MultiCreate.emitter(Consumer<MultiEmitter<? super T>> consumer, int bufferSize) LikeMultiCreate.emitter(Consumer)with theBackPressureStrategy.BUFFERstrategy and the given buffer size.<T> Multi<T> MultiCreate.emitter(Consumer<MultiEmitter<? super T>> consumer, BackPressureStrategy strategy) Creates aMultideferring the logic to the given consumer.<T> Multi<T> MultiCreate.empty()Creates aMultithat fires the completion event without having emitted any items.MultiRetry.expireAt(long expireAt) MultiRetry.expireIn(long expireIn) MultiIfEmpty.fail()LikeMultiIfEmpty.failWith(Throwable)but using aNoSuchElementException.MultiOnCompletion.fail()LikeMultiOnCompletion.failWith(Throwable)but using aNoSuchElementException.MultiOnItemTimeout.fail()<T> Multi<T> Creates aMultithat emits afailureevent immediately after being subscribed to.<T> Multi<T> Creates aMultithat emits afailureevent produced using the passed supplier immediately after being subscribed to.When the currentMulticompletes without having emitted items, the passed failure is sent downstream.When the currentMulticompletes, the passed failure is sent downstream.Specifies the finalizer function.MultiSelect.first()Select the first item from theMulti.MultiSelect.first(long n) Selects the firstnitems from theMulti.Selects the first items for the given duration.Selects the first items while the given predicate returnstrue.MultiSkip.first()Skips the first item from the upstream and emits all the other items.MultiSkip.first(long n) Skips the firstnitems from the upstream and emits all the other items.Skips the the items from the upstream emitted during the the givenduration.Skips the first items passing the givenpredicatefrom the upstream.<ACC,O> Multi <O> Gather each item into an accumulator, and emit new items based on an extractor function.<S,T> Multi <T> MultiCreate.generator(Supplier<S> initialStateSupplier, BiFunction<S, GeneratorEmitter<? super T>, S> generator) Creates aMultifrom on some initial state and a generator function.MultiOnItem.ignore()Ignores the passed items.MultiRetry.indefinitely()UniRepeat.indefinitely()Generates an unbounded stream, indefinitely resubscribing to theUni.Attaches an action executed when the subscription is cancelled.Produces a newMultiinvoking the given callback when anitemevent is fired by the upstream.Produces a newMultiinvoking the given callback when anitemevent is fired by the upstream.Action when items are being requested.MultiOnRequest.invoke(LongConsumer consumer) Action when items are being requested.Produces a newMultiinvoking the given callback when thesubscriptionis received.MultiOnSubscribe.invoke(Consumer<? super Flow.Subscription> callback) Produces a newMultiinvoking the given callback when thesubscriptionis received.Attaches an action that is executed when theMultiemits a completion or a failure or when the subscriber cancels the subscription.MultiOnTerminate.invoke(BiConsumer<Throwable, Boolean> callback) Attaches an action that is executed when theMultiemits a completion or a failure or when the subscriber cancels the subscription.<T> Multi<T> Creates a newMultithat emits an item immediately after being subscribed to with the specified single (potentiallynull) value.<T> Multi<T> MultiCreate.item(T item) Creates a newMultithat emits an item immediately after being subscribed to with the specified single item.<T> Multi<T> Creates a newMultithat emits the items immediately after being subscribed to.<T> Multi<T> final <T> Multi<T> MultiCreate.items(T... items) Creates a newMultithat emits the items individually after being subscribed to (according to the subscriber's request).<T> Multi<T> Creates a newMultithat emits the items individually after being subscribed to (according to the subscriber's request).MultiSelect.last()Select the last item from theMulti.MultiSelect.last(int n) Selects the lastnitems from theMulti.MultiSkip.last()Skips the first items from the upstream.MultiSkip.last(int n) Skips the lastnitems from the upstream.MultiFlatten.merge()Produces aMulticontaining the items fromFlow.Publisherproduced by themapperfor each item emitted by thisMulti.MultiFlatten.merge(int concurrency) Produces aMulticontaining the items fromFlow.Publisherproduced by themapperfor each item emitted by thisMulti.<T> Multi<T> MultiCreate.nothing()Creates aMultithat will never fire any events.MultiGroupIntoLists.of(int size) MultiGroupIntoLists.of(int size, int skip) MultiGroupIntoMultis.of(int size) MultiGroupIntoMultis.of(int size, int skip) <T> Multi<T> Create a replayMulti.<T> Multi<T> MultiReplay.ofSeedAndMulti(Iterable<T> seed, Multi<T> upstream) <T> Multi<T> Creates a newMultithat emits an item immediately after being subscribed to with the value contained in the optional supplied bysupplier.<T> Multi<T> Creates a newMultithat emits an item immediately after being subscribed to with the value contained in the given optional ifOptional.isPresent()or empty otherwise.<T> Multi<T> MultiCreate.publisher(Flow.Publisher<T> publisher) Creates aMultifrom the passedFlow.Publisher.MultiCreate.range(int startInclusive, int endExclusive) MultiOnFailure.recoverWithCompletion()Recovers from the received failure (matching the predicate if set) by completing the stream.MultiOnItemTimeout.recoverWithCompletion()MultiOnFailure.recoverWithItem(Function<? super Throwable, ? extends T> function) Recovers from the received failure (matching the predicate if set) by using a item generated by the given function.MultiOnFailure.recoverWithItem(Supplier<T> supplier) Recovers from the received failure (matching the predicate if set) by using a item generated by the given supplier.MultiOnFailure.recoverWithItem(T fallback) Recovers from the received failure (matching the predicate if set) by using a fallback item.MultiOnFailure.recoverWithMulti(Multi<? extends T> fallback) Recovers from the received failure (matching the predicate if set) with another givenMulti.MultiOnFailure.recoverWithMulti(Function<? super Throwable, Multi<? extends T>> function) Recovers from the received failure (matching the predicate if set) with anotherMulti.MultiOnFailure.recoverWithMulti(Supplier<Multi<? extends T>> supplier) Recovers from the received failure (matching the predicate if set) with anotherMulti.MultiOnItemTimeout.recoverWithMulti(Multi<? extends T> fallback) MultiOnItemTimeout.recoverWithMulti(Supplier<Multi<? extends T>> supplier) MultiSkip.repetitions()Skips repetitions from the upstream.MultiSkip.repetitions(Comparator<? super T> comparator) Skips repetitions from the upstream.<T> Multi<T> MultiCreate.safePublisher(Flow.Publisher<T> publisher) Creates aMultifrom the passedFlow.Publisher.MultiOnItem.scan(BinaryOperator<T> accumulator) <S> Multi<S> MultiOnItem.scan(Supplier<S> initialStateProducer, BiFunction<S, ? super T, S> accumulator) <T> Multi<T> MultiConcat.streams(Iterable<? extends Flow.Publisher<T>> iterable) final <T> Multi<T> MultiConcat.streams(Flow.Publisher<T>... publishers) <T> Multi<T> MultiMerge.streams(Iterable<? extends Flow.Publisher<T>> iterable) final <T> Multi<T> MultiMerge.streams(Flow.Publisher<T>... publishers) MultiIfEmpty.switchTo(Flow.Publisher<? extends T> other) When the upstreamMulticompletes without having emitted items, it continues with the events fired by the passedFlow.Publisher/Multi.MultiIfEmpty.switchTo(Supplier<Flow.Publisher<? extends T>> supplier) When the upstreamMulticompletes without having emitted items, it continues with the events fired by aFlow.Publisherproduces with the givenSupplier.MultiOnCompletion.switchTo(Flow.Publisher<? extends T> other) When the upstreamMulticompletes, it continues with the events fired by the passedFlow.Publisher/Multi.MultiOnCompletion.switchTo(Supplier<Flow.Publisher<? extends T>> supplier) When the upstreamMulticompletes, it continues with the events fired by aFlow.Publisherproduces with the givenSupplier.MultiIfEmpty.switchToEmitter(Consumer<MultiEmitter<? super T>> consumer) When the upstreamMulticompletes without having emitted items, it continues with the events fired with the emitter passed to theconsumercallback.MultiOnCompletion.switchToEmitter(Consumer<MultiEmitter<? super T>> consumer) When the upstreamMulticompletes, it continues with the events fired with the emitter passed to theconsumercallback.MultiBroadcast.toAllSubscribers()Broadcasts the events of the upstreamMultito all the subscribers.MultiBroadcast.toAtLeast(int numberOfSubscribers) Broadcasts the events of the upstreamMultito several subscribers.<R> Multi<R> <O> Multi<O> MultiOnItem.transformToIterable(Function<? super T, ? extends Iterable<O>> mapper) On each item received from the upstream, call the given mapper.<R> Multi<R> UniOnItem.transformToMulti(Function<? super T, ? extends Flow.Publisher<? extends R>> mapper) <R> Multi<R> UniOnNotNull.transformToMulti(Function<? super T, ? extends Flow.Publisher<? extends R>> mapper) <O> Multi<O> MultiOnItem.transformToMultiAndConcatenate(Function<? super T, ? extends Flow.Publisher<? extends O>> mapper) For each items emitted by the upstream, the givenmapperis invoked.<O> Multi<O> MultiOnItem.transformToMultiAndMerge(Function<? super T, ? extends Flow.Publisher<? extends O>> mapper) For each items emitted by the upstream, the givenmapperis invoked.<O> Multi<O> MultiOnItem.transformToUniAndConcatenate(Function<? super T, Uni<? extends O>> mapper) For each items emitted by the upstream, the givenmapperis invoked.<O> Multi<O> MultiOnItem.transformToUniAndMerge(Function<? super T, Uni<? extends O>> mapper) For each items emitted by the upstream, the givenmapperis invoked.<T> Multi<T> Generates a stream, containing the items from the upstreamUni, resubscribed until the given predicate returnstrue.MultiDemandPacing.using(DemandPacer pacer) Sets the demand pacer and return the newMulti.MultiDemandPausing.using(DemandPauser pauser) Sets the demand pauser and return the newMulti.<O> Multi<O> MultiItemCombine2.using(BiFunction<T1, T2, O> combinator) Creates the resultingMulti.<O> Multi<O> MultiItemCombine3.using(Functions.Function3<T1, T2, T3, O> combinator) Creates the resultingMulti.<O> Multi<O> Creates the resultingMulti.<O> Multi<O> Creates the resultingMulti.<O> Multi<O> Creates the resultingMulti.<O> Multi<O> Creates the resultingMulti.<O> Multi<O> Creates the resultingMulti.<O> Multi<O> Creates the resultingMulti.<O> Multi<O> Sets the combination logic as parameter and returns aMultiassociating the items from the observed stream using this combinator.MultiRetry.when(Function<Multi<Throwable>, ? extends Flow.Publisher<?>> whenStreamFactory) Produces aMultiresubscribing to the currentMultiwhen theFlow.Publisherproduced by the given method emits an item.Selects the items where the given function produced aUniemittingtrue.Skips the items where the given function produced aUniemittingtrue.Selects the items where the given predicate returnstrue.LikeMultiSelect.when(Function), but select at mostlimititems.Skips the items where the given predicate returnstrue.Generates a stream, containing the items from the upstreamUni, resubscribed while the given predicate returnstrue.MultiResource.withFinalizer(Consumer<? super R> finalizer) Configures a synchronous finalizer.MultiResource.withFinalizer(Function<? super R, Uni<Void>> finalizer) Configures an asynchronous finalizer.MultiResource.withFinalizer(Function<? super R, Uni<Void>> onCompletion, BiFunction<? super R, ? super Throwable, Uni<Void>> onFailure, Function<? super R, Uni<Void>> onCancellation) Configures asynchronous finalizers distinct for each event.MultiResourceUni.withFinalizer(Consumer<? super R> finalizer) Configures a synchronous finalizer.MultiResourceUni.withFinalizer(Function<? super R, Uni<Void>> finalizer) Configures an asynchronous finalizer.MultiResourceUni.withFinalizer(Function<? super R, Uni<Void>> onCompletion, BiFunction<? super R, ? super Throwable, Uni<Void>> onFailure, Function<? super R, Uni<Void>> onCancellation) Configures asynchronous finalizers distinct for each event.Methods in io.smallrye.mutiny.groups that return types with arguments of type MultiModifier and TypeMethodDescriptionMultiGroupIntoMultis.of(int size) MultiGroupIntoMultis.of(int size, int skip) Methods in io.smallrye.mutiny.groups with parameters of type MultiModifier and TypeMethodDescription<T> Uni<T> <T> Multi<T> Create a replayMulti.<T> Multi<T> MultiReplay.ofSeedAndMulti(Iterable<T> seed, Multi<T> upstream) MultiOnFailure.recoverWithMulti(Multi<? extends T> fallback) Recovers from the received failure (matching the predicate if set) with another givenMulti.MultiOnItemTimeout.recoverWithMulti(Multi<? extends T> fallback) Method parameters in io.smallrye.mutiny.groups with type arguments of type MultiModifier and TypeMethodDescription<T> Multi<T> Creates aMultiusingFunction.apply(Object)on the subscription-boundContext(the mapper is called at subscription time).<T> Multi<T> MultiOnFailure.recoverWithMulti(Function<? super Throwable, Multi<? extends T>> function) Recovers from the received failure (matching the predicate if set) with anotherMulti.MultiOnFailure.recoverWithMulti(Supplier<Multi<? extends T>> supplier) Recovers from the received failure (matching the predicate if set) with anotherMulti.MultiOnItemTimeout.recoverWithMulti(Supplier<Multi<? extends T>> supplier) MultiRetry.when(Function<Multi<Throwable>, ? extends Flow.Publisher<?>> whenStreamFactory) Produces aMultiresubscribing to the currentMultiwhen theFlow.Publisherproduced by the given method emits an item.UniRetry.when(Function<Multi<Throwable>, ? extends Flow.Publisher<?>> whenStreamFactory) Produces aUniresubscribing to the currentUniwhen theFlow.Publisherproduced by the given method emits an item.<R> RTransforms thisMultiinto a type using the provided converter.Constructors in io.smallrye.mutiny.groups with parameters of type MultiModifierConstructorDescriptionMultiBroadcast(Multi<T> upstream) MultiCollect(Multi<T> upstream) MultiConvert(Multi<T> upstream) MultiGroup(Multi<T> upstream) MultiGroupIntoLists(Multi<T> upstream) MultiGroupIntoMultis(Multi<T> upstream) MultiIfNoItem(Multi<T> upstream) MultiOnCancel(Multi<T> upstream) MultiOnCompletion(Multi<T> upstream) MultiOnFailure(Multi<T> upstream, Predicate<? super Throwable> predicate) MultiOnItem(Multi<T> upstream) MultiOnItemGather(Multi<I> upstream) MultiOnItemTimeout(Multi<T> upstream, Duration timeout, ScheduledExecutorService executor) MultiOnRequest(Multi<T> upstream) MultiOnSubscribe(Multi<T> upstream) MultiOnTerminate(Multi<T> upstream) MultiOverflow(Multi<T> upstream) MultiOverflowStrategy(Multi<T> upstream, Consumer<T> dropConsumer, Function<T, Uni<?>> dropUniMapper) MultiRetry(Multi<T> upstream, Predicate<? super Throwable> onFailurePredicate) MultiSelect(Multi<T> upstream) -
Uses of Multi in io.smallrye.mutiny.helpers.spies
Classes in io.smallrye.mutiny.helpers.spies that implement MultiModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassMethods in io.smallrye.mutiny.helpers.spies with parameters of type MultiModifier and TypeMethodDescriptionstatic <T> MultiGlobalSpy<T> Spy allMultievents (exceptonOverflow()).static <T> MultiOnCancellationSpy<T> Spy.onCancellation(Multi<T> upstream) SpyonCancellation()events.static <T> MultiOnCompletionSpy<T> Spy.onCompletion(Multi<T> upstream) SpyonCompletion()events.static <T> MultiOnFailureSpy<T> SpyonFailure()events.static <T> MultiOnFailureSpy<T> SpyonFailure(Class)events.static <T> MultiOnFailureSpy<T> SpyonFailure(Predicate)events.static <T> MultiOnItemSpy<T> SpyonItem()events and keep track of the items.static <T> MultiOnItemSpy<T> SpyonItem()events and optionally keep track of the items.static <T> MultiOnOverflowSpy<T> Spy.onOverflow(Multi<T> upstream, boolean trackItems, Function<MultiOverflowStrategy<? extends T>, Multi<? extends T>> strategyMapper) SpyonOverflow()events and track dropped items.static <T> MultiOnOverflowSpy<T> Spy.onOverflow(Multi<T> upstream, Function<MultiOverflowStrategy<? extends T>, Multi<? extends T>> strategyMapper) SpyonOverflow()events and track dropped items.static <T> MultiOnRequestSpy<T> SpyonRequest()events.static <T> MultiOnSubscribeSpy<T> Spy.onSubscribe(Multi<T> upstream) SpyonSubscription()events.static <T> MultiOnTerminationSpy<T> Spy.onTermination(Multi<T> upstream) SpyonTermination()events.Method parameters in io.smallrye.mutiny.helpers.spies with type arguments of type MultiModifier and TypeMethodDescriptionstatic <T> MultiOnOverflowSpy<T> Spy.onOverflow(Multi<T> upstream, boolean trackItems, Function<MultiOverflowStrategy<? extends T>, Multi<? extends T>> strategyMapper) SpyonOverflow()events and track dropped items.static <T> MultiOnOverflowSpy<T> Spy.onOverflow(Multi<T> upstream, Function<MultiOverflowStrategy<? extends T>, Multi<? extends T>> strategyMapper) SpyonOverflow()events and track dropped items.Constructors in io.smallrye.mutiny.helpers.spies with parameters of type Multi -
Uses of Multi in io.smallrye.mutiny.infrastructure
Methods in io.smallrye.mutiny.infrastructure that return MultiModifier and TypeMethodDescriptionstatic <T> Multi<T> Infrastructure.onMultiCreation(Multi<T> instance) default <T> Multi<T> MultiInterceptor.onMultiCreation(Multi<T> multi) Method called when a new instance ofMultiis created.Methods in io.smallrye.mutiny.infrastructure with parameters of type MultiModifier and TypeMethodDescriptionstatic <T> Multi<T> Infrastructure.onMultiCreation(Multi<T> instance) default <T> Multi<T> MultiInterceptor.onMultiCreation(Multi<T> multi) Method called when a new instance ofMultiis created. -
Uses of Multi in io.smallrye.mutiny.operators
Classes in io.smallrye.mutiny.operators that implement MultiMethods in io.smallrye.mutiny.operators that return MultiModifier and TypeMethodDescriptionAbstractMulti.cache()AbstractMulti.capDemandsUsing(LongFunction<Long> function) AbstractMulti.log()AbstractMulti.runSubscriptionOn(Executor executor) AbstractMulti.toHotStream()AbstractUni.toMulti()MultiOperator.upstream()<R> Multi<R> AbstractMulti.withContext(BiFunction<Multi<T>, Context, Multi<R>> builder) Method parameters in io.smallrye.mutiny.operators with type arguments of type MultiModifier and TypeMethodDescription<R> Multi<R> AbstractMulti.withContext(BiFunction<Multi<T>, Context, Multi<R>> builder) <R> Multi<R> AbstractMulti.withContext(BiFunction<Multi<T>, Context, Multi<R>> builder) Constructors in io.smallrye.mutiny.operators with parameters of type Multi -
Uses of Multi in io.smallrye.mutiny.operators.multi
Classes in io.smallrye.mutiny.operators.multi that implement MultiModifier and TypeClassDescriptionclassio.smallrye.mutiny.operators.multi.AbstractMultiOperator<I,O> Abstract base class for operators that take an upstream sourceMulti. -
Uses of Multi in io.smallrye.mutiny.operators.multi.processors
Classes in io.smallrye.mutiny.operators.multi.processors that implement MultiModifier and TypeClassDescriptionclassImplementation ofFlow.Processorthat broadcast all subsequently observed items to its currentFlow.Subscribers.classImplementation of a processor using a queue to store items and allows a single subscriber to receive these items. -
Uses of Multi in io.smallrye.mutiny.operators.multi.split
Methods in io.smallrye.mutiny.operators.multi.split that return MultiConstructors in io.smallrye.mutiny.operators.multi.split with parameters of type Multi