| Modifier and Type | Method and Description |
|---|---|
<T2> Uni<Tuple2<T,T2>> |
Uni.and(Uni<T2> other)
|
Uni<T> |
Uni.cache()
Caches the events (item or failure) of this
Uni and replays it for all further UniSubscriber. |
Uni<T> |
Uni.emitOn(Executor executor)
Produces a new
Uni invoking the UniSubscriber.onItem(Object) and
UniSubscriber.onFailure(Throwable) on the supplied Executor. |
default <O> Uni<O> |
Uni.flatMap(Function<? super T,Uni<? extends O>> mapper)
Transforms the received item asynchronously, forwarding the events emitted by another
Uni produced by
the given mapper. |
default <O> Uni<O> |
Uni.map(Function<? super T,? extends O> mapper)
Transforms the item (potentially null) emitted by this
Uni by applying a (synchronous) function to it. |
Uni<T> |
Uni.runSubscriptionOn(Executor executor)
|
default Uni<T> |
Uni.subscribeOn(Executor executor)
Deprecated.
Use
runSubscriptionOn(Executor) instead |
Uni<T> |
Multi.toUni()
|
| Modifier and Type | Method and Description |
|---|---|
<T2> Uni<Tuple2<T,T2>> |
Uni.and(Uni<T2> other)
|
| Modifier and Type | Method and Description |
|---|---|
default <O> Uni<O> |
Uni.flatMap(Function<? super T,Uni<? extends O>> mapper)
Transforms the received item asynchronously, forwarding the events emitted by another
Uni produced by
the given mapper. |
default <O> O |
Uni.then(Function<Uni<T>,O> stage)
Allows structuring the pipeline by creating a logic separation:
|
| Modifier and Type | Method and Description |
|---|---|
Uni<T> |
UniConverter.from(I instance)
Convert from type to
Uni. |
| Modifier and Type | Method and Description |
|---|---|
Uni<T> |
FromCompletionStage.from(CompletionStage<T> instance) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<T> |
ToCompletableFuture.apply(Uni<T> uni) |
CompletionStage<T> |
ToCompletionStage.apply(Uni<T> uni) |
org.reactivestreams.Publisher<T> |
ToPublisher.apply(Uni<T> uni) |
| Modifier and Type | Method and Description |
|---|---|
Uni<T> |
UniOnResultIgnore.andContinueWith(Supplier<? extends T> supplier)
Ignores the item fired by the current
Uni, and continue with the value produced by the given supplier. |
Uni<T> |
UniOnResultIgnore.andContinueWith(T fallback)
Ignores the item fired by the current
Uni, and continue with a default value. |
Uni<Void> |
UniOnResultIgnore.andContinueWithNull()
Ignores the item fired by the current
Uni, and continue with a null item. |
Uni<T> |
UniOnResultIgnore.andFail()
Like
UniOnResultIgnore.andFail(Throwable) but using an Exception. |
Uni<T> |
UniOnResultIgnore.andFail(Supplier<Throwable> supplier)
|
Uni<T> |
UniOnResultIgnore.andFail(Throwable failure)
Ignores the item fired by the current
Uni and fails with the passed failure. |
<O> Uni<O> |
UniOnResultIgnore.andSwitchTo(Supplier<Uni<? extends O>> supplier)
|
<O> Uni<O> |
UniOnResultIgnore.andSwitchTo(Uni<? extends O> other)
|
<R> Uni<R> |
UniOnItem.apply(Function<? super T,? extends R> mapper)
|
<R> Uni<R> |
UniOnNotNull.apply(Function<? super T,? extends R> mapper)
|
Uni<T> |
UniOnFailure.apply(Function<? super Throwable,? extends Throwable> mapper)
|
Uni<List<T>> |
MultiCollect.asList()
|
<K> Uni<Map<K,T>> |
MultiCollect.asMap(Function<? super T,? extends K> keyMapper)
|
<K,V> Uni<Map<K,V>> |
MultiCollect.asMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper)
|
<K> Uni<Map<K,Collection<T>>> |
MultiCollect.asMultiMap(Function<? super T,? extends K> keyMapper)
|
<K,V> Uni<Map<K,Collection<V>>> |
MultiCollect.asMultiMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper)
|
Uni<Tuple5<T1,T2,T3,T4,T5>> |
UniAndGroup5.asTuple() |
Uni<Tuple3<T1,T2,T3>> |
UniAndGroup3.asTuple() |
Uni<Tuple4<T1,T2,T3,T4>> |
UniAndGroup4.asTuple() |
Uni<Tuple2<T1,T2>> |
UniAndGroup2.asTuple() |
Uni<T> |
UniRetry.atMost(long numberOfAttempts)
|
Uni<T> |
UniOnResultDelay.by(Duration duration) |
Uni<T> |
UniOnEvent.cancellation(Runnable runnable)
Attaches an action executed when a subscription is cancelled.
|
<O> Uni<O> |
UniOnItem.castTo(Class<O> target)
Produces an
Uni emitting an item based on the upstream item but casted to the target class. |
<O> Uni<O> |
UniAndGroup2.combinedWith(BiFunction<T1,T2,O> combinator)
Creates the resulting
Uni. |
<O> Uni<O> |
UniAndGroupIterable.combinedWith(Function<List<?>,O> function) |
<O> Uni<O> |
UniAndGroup3.combinedWith(Functions.Function3<T1,T2,T3,O> combinator) |
<O> Uni<O> |
UniAndGroup4.combinedWith(Functions.Function4<T1,T2,T3,T4,O> combinator) |
<O> Uni<O> |
UniAndGroup5.combinedWith(Functions.Function5<T1,T2,T3,T4,T5,O> combinator) |
<T> Uni<T> |
UniCreate.completionStage(CompletionStage<? extends T> stage)
|
<T> Uni<T> |
UniCreate.completionStage(Supplier<? extends CompletionStage<? extends T>> supplier)
|
<T,S> Uni<T> |
UniCreate.completionStage(Supplier<S> stateSupplier,
Function<S,? extends CompletionStage<? extends T>> mapper)
|
Uni<T> |
UniOnNull.continueWith(Supplier<? extends T> supplier)
Provides a default item if the current
Uni fires null as item. |
Uni<T> |
UniOnNull.continueWith(T fallback)
Provides a default item if the current
Uni fires null as item. |
<I,T> Uni<T> |
UniCreate.converter(UniConverter<I,T> converter,
I instance)
Creates a new
Uni from the passed instance with the passed converter. |
<T> Uni<T> |
UniCreate.deferred(Supplier<? extends Uni<? extends T>> supplier)
|
<T,S> Uni<T> |
UniCreate.deferred(Supplier<S> stateSupplier,
Function<S,? extends Uni<? extends T>> mapper)
|
<T> Uni<T> |
UniCreate.emitter(Consumer<UniEmitter<? super T>> consumer)
Creates a
Uni deferring the logic to the given consumer. |
<T,S> Uni<T> |
UniCreate.emitter(Supplier<S> stateSupplier,
BiConsumer<S,UniEmitter<? super T>> consumer)
Creates a
Uni deferring the logic to the given consumer. |
Uni<T> |
UniOnNull.fail()
Like
UniOnNull.failWith(Throwable) but using a NoSuchElementException. |
Uni<T> |
UniOnTimeout.fail() |
<T> Uni<T> |
UniCreate.failure(Supplier<Throwable> supplier)
Creates a
Uni that emits a failure event produced using the passed supplier immediately after
being subscribed to. |
<T> Uni<T> |
UniCreate.failure(Throwable failure)
Creates a
Uni that emits a failure event immediately after being subscribed to. |
Uni<T> |
UniOnItem.failWith(Function<? super T,? extends Throwable> mapper)
|
Uni<T> |
UniOnNull.failWith(Supplier<? extends Throwable> supplier)
|
Uni<T> |
UniOnTimeout.failWith(Supplier<? extends Throwable> supplier) |
Uni<T> |
UniOnNull.failWith(Throwable failure)
|
Uni<T> |
UniOnTimeout.failWith(Throwable failure) |
Uni<T> |
MultiCollect.first()
|
Uni<Void> |
MultiOnItem.ignoreAsUni()
Ignores the passed items.
|
<X> Uni<X> |
MultiCollect.in(Supplier<X> supplier,
BiConsumer<X,T> accumulator)
|
Uni<T> |
UniRetry.indefinitely()
|
Uni<T> |
UniOnItem.invoke(Consumer<? super T> callback)
Produces a new
Uni invoking the given callback when the item event is fired. |
Uni<T> |
UniOnNotNull.invoke(Consumer<? super T> callback)
Produces a new
Uni invoking the given callback when the item event is fired. |
Uni<T> |
UniOnFailure.invoke(Consumer<Throwable> callback)
|
<T> Uni<T> |
UniCreate.item(Supplier<? extends T> supplier)
Creates a new
Uni that completes immediately after being subscribed to with the specified (potentially
null) value. |
<T,S> Uni<T> |
UniCreate.item(Supplier<S> stateSupplier,
Function<S,? extends T> mapper)
Creates a new
Uni that completes immediately after being subscribed to with the specified (potentially
null) value. |
<T> Uni<T> |
UniCreate.item(T item)
Creates a new
Uni that completes immediately after being subscribed to with the specified (potentially
null) item. |
Uni<T> |
MultiCollect.last()
|
<T> Uni<T> |
UniCreate.multi(Multi<T> multi)
|
<T> Uni<T> |
UniCreate.nothing()
|
<T> Uni<T> |
UniCreate.nullItem()
Creates a new
Uni that completes with a null item. |
<T> Uni<T> |
UniAny.of(Iterable<? extends Uni<? super T>> iterable)
Creates a
Uni forwarding the first event (item or failure). |
<T> Uni<T> |
UniAny.of(Uni<? super T>... unis)
Like
UniAny.of(Iterable) but with an array of Uni as parameter |
<T> Uni<T> |
UniCreate.optional(Optional<T> optional)
Creates a new
Uni that completes immediately after being subscribed to with the item based on the value
contained in the given optional if Optional.isPresent() or null otherwise. |
<T> Uni<T> |
UniCreate.optional(Supplier<Optional<T>> supplier)
Creates a new
Uni that completes immediately after being subscribed to with the item based on the value
contained in the given optional if Optional.isPresent() or null otherwise. |
<R> Uni<R> |
UniOnItem.produceCompletionStage(Function<? super T,? extends CompletionStage<? extends R>> mapper)
Transforms the received item asynchronously, forwarding the events emitted by another
CompletionStage
produced by the given mapper. |
<R> Uni<R> |
UniOnNotNull.produceCompletionStage(Function<? super T,? extends CompletionStage<? extends R>> mapper)
Transforms the received item asynchronously, forwarding the events emitted by another
CompletionStage
produced by the given mapper. |
<R> Uni<R> |
UniOnItem.produceUni(BiConsumer<? super T,UniEmitter<? super R>> consumer)
Transforms the received item asynchronously, forwarding the events emitted an
UniEmitter consumes by
the given consumer. |
<R> Uni<R> |
UniOnNotNull.produceUni(BiConsumer<? super T,UniEmitter<? super R>> consumer)
Transforms the received item asynchronously, forwarding the events emitted an
UniEmitter consumes by
the given consumer. |
<R> Uni<R> |
UniOnItem.produceUni(Function<? super T,? extends Uni<? extends R>> mapper)
Transforms the received item asynchronously, forwarding the events emitted by another
Uni produced by
the given mapper. |
<R> Uni<R> |
UniOnNotNull.produceUni(Function<? super T,? extends Uni<? extends R>> mapper)
Transforms the received item asynchronously, forwarding the events emitted by another
Uni produced by
the given mapper. |
<T> Uni<T> |
UniCreate.publisher(org.reactivestreams.Publisher<? extends T> publisher)
Creates a
Uni from the passed Publisher. |
Uni<T> |
UniOnFailure.recoverWithItem(Function<? super Throwable,? extends T> fallback) |
Uni<T> |
UniOnFailure.recoverWithItem(Supplier<T> supplier) |
Uni<T> |
UniOnTimeout.recoverWithItem(Supplier<T> supplier)
|
Uni<T> |
UniOnFailure.recoverWithItem(T fallback) |
Uni<T> |
UniOnTimeout.recoverWithItem(T fallback)
|
Uni<T> |
UniOnFailure.recoverWithUni(Function<? super Throwable,? extends Uni<? extends T>> fallback) |
Uni<T> |
UniOnFailure.recoverWithUni(Supplier<? extends Uni<? extends T>> supplier) |
Uni<T> |
UniOnTimeout.recoverWithUni(Supplier<? extends Uni<? extends T>> supplier)
|
Uni<T> |
UniOnFailure.recoverWithUni(Uni<? extends T> fallback) |
Uni<T> |
UniOnTimeout.recoverWithUni(Uni<? extends T> fallback)
|
Uni<T> |
UniOnEvent.subscribed(Consumer<? super UniSubscription> consumer)
Attaches an action executed when the
Uni has received a UniSubscription from upstream. |
Uni<T> |
UniOnNull.switchTo(Supplier<Uni<? extends T>> supplier)
|
Uni<T> |
UniOnNull.switchTo(Uni<? extends T> other)
|
Uni<T> |
UniOnEvent.termination(Functions.TriConsumer<T,Throwable,Boolean> consumer)
Attaches an action that is executed when the
Uni emits an item or a failure or when the subscriber
cancels the subscription. |
Uni<T> |
UniOnEvent.termination(Runnable action)
Attaches an action that is executed when the
Uni emits an item or a failure or when the subscriber
cancels the subscription. |
Uni<T> |
UniOr.uni(Uni<T> other) |
Uni<T> |
UniOr.unis(Uni<T>... other) |
Uni<T> |
UniOnResultDelay.until(Function<? super T,? extends Uni<?>> function) |
Uni<T> |
UniRetry.until(Predicate<? super Throwable> predicate)
|
Uni<Void> |
UniCreate.voidItem()
Creates a new
Uni that completes with a null item. |
Uni<T> |
UniRetry.when(Function<Multi<Throwable>,? extends org.reactivestreams.Publisher<?>> whenStreamFactory)
|
<X,A> Uni<X> |
MultiCollect.with(Collector<? super T,A,? extends X> collector)
|
| Modifier and Type | Method and Description |
|---|---|
<O> Uni<O> |
UniOnResultIgnore.andSwitchTo(Uni<? extends O> other)
|
<T> Uni<T> |
UniAny.of(Uni<? super T>... unis)
Like
UniAny.of(Iterable) but with an array of Uni as parameter |
Uni<T> |
UniOnFailure.recoverWithUni(Uni<? extends T> fallback) |
Uni<T> |
UniOnTimeout.recoverWithUni(Uni<? extends T> fallback)
|
Uni<T> |
UniOnNull.switchTo(Uni<? extends T> other)
|
<T2> UniAndGroup2<T1,T2> |
UniAndGroup.uni(Uni<? extends T2> other)
Combines the current
Uni with the given one. |
Uni<T> |
UniOr.uni(Uni<T> other) |
<T> Multi<T> |
MultiCreate.uni(Uni<T> uni)
|
UniAndGroupIterable |
UniZip.unis(Uni<?>... unis)
Combines several
unis together. |
UniAndGroupIterable |
UniAndGroup.unis(Uni<?>... unis)
Combines the current
Uni with the given ones. |
<T1,T2> UniAndGroup2<T1,T2> |
UniZip.unis(Uni<? extends T1> u1,
Uni<? extends T2> u2)
Combines two
unis together. |
<T1,T2> UniAndGroup2<T1,T2> |
UniZip.unis(Uni<? extends T1> u1,
Uni<? extends T2> u2)
Combines two
unis together. |
<T1,T2,T3> UniAndGroup3<T1,T2,T3> |
UniZip.unis(Uni<? extends T1> u1,
Uni<? extends T2> u2,
Uni<? extends T3> u3)
Combines the three
unis together. |
<T1,T2,T3> UniAndGroup3<T1,T2,T3> |
UniZip.unis(Uni<? extends T1> u1,
Uni<? extends T2> u2,
Uni<? extends T3> u3)
Combines the three
unis together. |
<T1,T2,T3> UniAndGroup3<T1,T2,T3> |
UniZip.unis(Uni<? extends T1> u1,
Uni<? extends T2> u2,
Uni<? extends T3> u3)
Combines the three
unis together. |
<T1,T2,T3,T4> |
UniZip.unis(Uni<? extends T1> u1,
Uni<? extends T2> u2,
Uni<? extends T3> u3,
Uni<? extends T4> u4)
Combines four
unis together. |
<T1,T2,T3,T4> |
UniZip.unis(Uni<? extends T1> u1,
Uni<? extends T2> u2,
Uni<? extends T3> u3,
Uni<? extends T4> u4)
Combines four
unis together. |
<T1,T2,T3,T4> |
UniZip.unis(Uni<? extends T1> u1,
Uni<? extends T2> u2,
Uni<? extends T3> u3,
Uni<? extends T4> u4)
Combines four
unis together. |
<T1,T2,T3,T4> |
UniZip.unis(Uni<? extends T1> u1,
Uni<? extends T2> u2,
Uni<? extends T3> u3,
Uni<? extends T4> u4)
Combines four
unis together. |
<T1,T2,T3,T4,T5> |
UniZip.unis(Uni<? extends T1> u1,
Uni<? extends T2> u2,
Uni<? extends T3> u3,
Uni<? extends T4> u4,
Uni<? extends T5> u5)
Combines five
unis together. |
<T1,T2,T3,T4,T5> |
UniZip.unis(Uni<? extends T1> u1,
Uni<? extends T2> u2,
Uni<? extends T3> u3,
Uni<? extends T4> u4,
Uni<? extends T5> u5)
Combines five
unis together. |
<T1,T2,T3,T4,T5> |
UniZip.unis(Uni<? extends T1> u1,
Uni<? extends T2> u2,
Uni<? extends T3> u3,
Uni<? extends T4> u4,
Uni<? extends T5> u5)
Combines five
unis together. |
<T1,T2,T3,T4,T5> |
UniZip.unis(Uni<? extends T1> u1,
Uni<? extends T2> u2,
Uni<? extends T3> u3,
Uni<? extends T4> u4,
Uni<? extends T5> u5)
Combines five
unis together. |
<T1,T2,T3,T4,T5> |
UniZip.unis(Uni<? extends T1> u1,
Uni<? extends T2> u2,
Uni<? extends T3> u3,
Uni<? extends T4> u4,
Uni<? extends T5> u5)
Combines five
unis together. |
<T2,T3> UniAndGroup3<T1,T2,T3> |
UniAndGroup.unis(Uni<? extends T2> u2,
Uni<? extends T3> u3)
Combines the current
Uni with the given ones. |
<T2,T3> UniAndGroup3<T1,T2,T3> |
UniAndGroup.unis(Uni<? extends T2> u2,
Uni<? extends T3> u3)
Combines the current
Uni with the given ones. |
<T2,T3,T4> UniAndGroup4<T1,T2,T3,T4> |
UniAndGroup.unis(Uni<? extends T2> u2,
Uni<? extends T3> u3,
Uni<? extends T4> u4)
Combines the current
Uni with the given ones. |
<T2,T3,T4> UniAndGroup4<T1,T2,T3,T4> |
UniAndGroup.unis(Uni<? extends T2> u2,
Uni<? extends T3> u3,
Uni<? extends T4> u4)
Combines the current
Uni with the given ones. |
<T2,T3,T4> UniAndGroup4<T1,T2,T3,T4> |
UniAndGroup.unis(Uni<? extends T2> u2,
Uni<? extends T3> u3,
Uni<? extends T4> u4)
Combines the current
Uni with the given ones. |
<T2,T3,T4,T5> |
UniAndGroup.unis(Uni<? extends T2> u2,
Uni<? extends T3> u3,
Uni<? extends T4> u4,
Uni<? extends T5> u5)
Combines the current
Uni with the given ones. |
<T2,T3,T4,T5> |
UniAndGroup.unis(Uni<? extends T2> u2,
Uni<? extends T3> u3,
Uni<? extends T4> u4,
Uni<? extends T5> u5)
Combines the current
Uni with the given ones. |
<T2,T3,T4,T5> |
UniAndGroup.unis(Uni<? extends T2> u2,
Uni<? extends T3> u3,
Uni<? extends T4> u4,
Uni<? extends T5> u5)
Combines the current
Uni with the given ones. |
<T2,T3,T4,T5> |
UniAndGroup.unis(Uni<? extends T2> u2,
Uni<? extends T3> u3,
Uni<? extends T4> u4,
Uni<? extends T5> u5)
Combines the current
Uni with the given ones. |
Uni<T> |
UniOr.unis(Uni<T>... other) |
| Modifier and Type | Method and Description |
|---|---|
<O> Uni<O> |
UniOnResultIgnore.andSwitchTo(Supplier<Uni<? extends O>> supplier)
|
Multi<T> |
MultiTransform.byTestingItemsWith(Function<? super T,? extends Uni<Boolean>> tester)
|
<T> Uni<T> |
UniCreate.deferred(Supplier<? extends Uni<? extends T>> supplier)
|
<T,S> Uni<T> |
UniCreate.deferred(Supplier<S> stateSupplier,
Function<S,? extends Uni<? extends T>> mapper)
|
<T> Uni<T> |
UniAny.of(Iterable<? extends Uni<? super T>> iterable)
Creates a
Uni forwarding the first event (item or failure). |
<O> MultiFlatten<T,O> |
MultiOnItem.produceUni(Function<? super T,? extends Uni<? extends O>> mapper)
Configures the mapper of the flatMap operation.
|
<R> Uni<R> |
UniOnItem.produceUni(Function<? super T,? extends Uni<? extends R>> mapper)
Transforms the received item asynchronously, forwarding the events emitted by another
Uni produced by
the given mapper. |
<R> Uni<R> |
UniOnNotNull.produceUni(Function<? super T,? extends Uni<? extends R>> mapper)
Transforms the received item asynchronously, forwarding the events emitted by another
Uni produced by
the given mapper. |
Uni<T> |
UniOnFailure.recoverWithUni(Function<? super Throwable,? extends Uni<? extends T>> fallback) |
Uni<T> |
UniOnFailure.recoverWithUni(Supplier<? extends Uni<? extends T>> supplier) |
Uni<T> |
UniOnTimeout.recoverWithUni(Supplier<? extends Uni<? extends T>> supplier)
|
Uni<T> |
UniOnNull.switchTo(Supplier<Uni<? extends T>> supplier)
|
<T> UniRepeat<T> |
MultiRepetition.uni(Supplier<? extends Uni<? extends T>> uniSupplier)
|
<S,T> UniRepeat<T> |
MultiRepetition.uni(Supplier<S> stateSupplier,
Function<S,? extends Uni<? extends T>> producer)
|
UniAndGroupIterable |
UniAndGroup.unis(Iterable<? extends Uni<?>> unis)
Combines the current
Uni with the given ones. |
<O> UniAndGroupIterable<O> |
UniZip.unis(Iterable<? extends Uni<?>> unis)
Combines several
unis together. |
Uni<T> |
UniOnResultDelay.until(Function<? super T,? extends Uni<?>> function) |
<R> R |
UniConvert.with(Function<Uni<T>,R> converter)
Transforms this
Uni into a type using the provided converter. |
Multi<I> |
MultiResource.withFinalizer(Function<? super R,Uni<Void>> finalizer)
Configures an asynchronous finalizer.
|
Multi<I> |
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.
|
Multi<I> |
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.
|
Multi<I> |
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.
|
| Constructor and Description |
|---|
UniAndGroup(Uni<T1> upstream) |
UniAndGroup2(Uni<? extends T1> source,
Uni<? extends T2> other) |
UniAndGroup2(Uni<? extends T1> source,
Uni<? extends T2> other) |
UniAndGroup3(Uni<? extends T1> source,
Uni<? extends T2> o1,
Uni<? extends T3> o2) |
UniAndGroup3(Uni<? extends T1> source,
Uni<? extends T2> o1,
Uni<? extends T3> o2) |
UniAndGroup3(Uni<? extends T1> source,
Uni<? extends T2> o1,
Uni<? extends T3> o2) |
UniAndGroup4(Uni<? extends T1> source,
Uni<? extends T2> o1,
Uni<? extends T3> o2,
Uni<? extends T4> o3) |
UniAndGroup4(Uni<? extends T1> source,
Uni<? extends T2> o1,
Uni<? extends T3> o2,
Uni<? extends T4> o3) |
UniAndGroup4(Uni<? extends T1> source,
Uni<? extends T2> o1,
Uni<? extends T3> o2,
Uni<? extends T4> o3) |
UniAndGroup4(Uni<? extends T1> source,
Uni<? extends T2> o1,
Uni<? extends T3> o2,
Uni<? extends T4> o3) |
UniAndGroup5(Uni<? extends T1> source,
Uni<? extends T2> o1,
Uni<? extends T3> o2,
Uni<? extends T4> o3,
Uni<? extends T5> o4) |
UniAndGroup5(Uni<? extends T1> source,
Uni<? extends T2> o1,
Uni<? extends T3> o2,
Uni<? extends T4> o3,
Uni<? extends T5> o4) |
UniAndGroup5(Uni<? extends T1> source,
Uni<? extends T2> o1,
Uni<? extends T3> o2,
Uni<? extends T4> o3,
Uni<? extends T5> o4) |
UniAndGroup5(Uni<? extends T1> source,
Uni<? extends T2> o1,
Uni<? extends T3> o2,
Uni<? extends T4> o3,
Uni<? extends T5> o4) |
UniAndGroup5(Uni<? extends T1> source,
Uni<? extends T2> o1,
Uni<? extends T3> o2,
Uni<? extends T4> o3,
Uni<? extends T5> o4) |
UniAndGroupIterable(Uni<? extends T1> source,
Iterable<? extends Uni<?>> iterable) |
UniAndGroupIterable(Uni<? extends T1> source,
Iterable<? extends Uni<?>> iterable,
boolean collectFailures) |
UniAwait(Uni<T> upstream) |
UniAwaitOptional(Uni<T> upstream) |
UniConvert(Uni<T> upstream) |
UniIfNoItem(Uni<T> upstream) |
UniOnEvent(Uni<T> upstream) |
UniOnFailure(Uni<T> upstream,
Predicate<? super Throwable> predicate) |
UniOnItem(Uni<T> upstream) |
UniOnNotNull(Uni<T> upstream) |
UniOnNull(Uni<T> upstream) |
UniOnResultDelay(Uni<T> upstream,
ScheduledExecutorService executor) |
UniOnTimeout(Uni<T> upstream,
Duration timeout,
ScheduledExecutorService executor) |
UniOr(Uni<T> upstream) |
UniRepeat(Uni<T> upstream) |
UniRetry(Uni<T> upstream,
Predicate<? super Throwable> predicate) |
| Constructor and Description |
|---|
UniAndGroupIterable(Iterable<? extends Uni<?>> iterable) |
UniAndGroupIterable(Uni<? extends T1> source,
Iterable<? extends Uni<?>> iterable) |
UniAndGroupIterable(Uni<? extends T1> source,
Iterable<? extends Uni<?>> iterable,
boolean collectFailures) |
| Modifier and Type | Method and Description |
|---|---|
static <T> Uni<T> |
Infrastructure.onUniCreation(Uni<T> instance) |
default <T> Uni<T> |
UniInterceptor.onUniCreation(Uni<T> uni)
Method called when a new instance of
Uni is created. |
| Modifier and Type | Method and Description |
|---|---|
default <T> UniSubscriber<? super T> |
UniInterceptor.onSubscription(Uni<T> instance,
UniSubscriber<? super T> subscriber)
Method called when a subscriber subscribes to a
Uni. |
static <T> Uni<T> |
Infrastructure.onUniCreation(Uni<T> instance) |
default <T> Uni<T> |
UniInterceptor.onUniCreation(Uni<T> uni)
Method called when a new instance of
Uni is created. |
static <T> UniSubscriber<? super T> |
Infrastructure.onUniSubscription(Uni<T> instance,
UniSubscriber<? super T> subscriber) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractUni<T> |
class |
UniAndCombination<I,O> |
class |
UniCache<I> |
class |
UniCallSubscribeOn<I> |
class |
UniCreateFromCompletionStage<O> |
class |
UniCreateFromDeferredSupplier<T> |
class |
UniCreateFromPublisher<O> |
class |
UniCreateWithEmitter<T> |
class |
UniDelayOnItem<T> |
class |
UniDelayUntil<T> |
class |
UniEmitOn<I> |
class |
UniFailOnTimeout<I> |
class |
UniFlatMapCompletionStageOnItem<I,O> |
class |
UniFlatMapOnFailure<I> |
class |
UniFlatMapOnItem<I,O> |
class |
UniMapOnFailure<I,O> |
class |
UniMapOnResult<I,O> |
class |
UniNever<T> |
class |
UniOnCancellation<T> |
class |
UniOnEventConsume<T> |
class |
UniOnSubscription<T> |
class |
UniOnTermination<T> |
class |
UniOperator<I,O> |
class |
UniOrCombination<T> |
class |
UniRetryAtMost<T> |
| Modifier and Type | Method and Description |
|---|---|
<T2> Uni<Tuple2<T,T2>> |
AbstractUni.and(Uni<T2> other) |
Uni<T> |
AbstractUni.cache() |
static <R,T> Uni<R> |
MultiCollector.collectInto(Multi<T> upstream,
Supplier<R> producer,
BiConsumer<R,? super T> combinator) |
static <T,A,R> Uni<R> |
MultiCollector.collector(Multi<T> upstream,
Collector<? super T,A,? extends R> collector,
boolean acceptNullAsInitialValue) |
Uni<T> |
AbstractUni.emitOn(Executor executor) |
static <T> Uni<T> |
MultiCollector.first(Multi<T> upstream) |
static <T> Uni<T> |
MultiCollector.last(Multi<T> upstream) |
static <T> Uni<List<T>> |
MultiCollector.list(Multi<T> upstream) |
static <K,T> Uni<Map<K,T>> |
MultiCollector.map(Multi<T> upstream,
Function<? super T,? extends K> keyMapper) |
static <K,V,T> Uni<Map<K,V>> |
MultiCollector.map(Multi<T> upstream,
Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper) |
static <K,V,R> Uni<Map<K,Collection<V>>> |
MultiCollector.multimap(Multi<R> upstream,
Function<? super R,? extends K> keyMapper,
Function<? super R,? extends V> valueMapper) |
Uni<T> |
AbstractUni.runSubscriptionOn(Executor executor) |
Uni<T> |
AbstractMulti.toUni() |
Uni<? extends I> |
UniOperator.upstream() |
| Modifier and Type | Method and Description |
|---|---|
<T2> Uni<Tuple2<T,T2>> |
AbstractUni.and(Uni<T2> other) |
static <T> T |
UniBlockingAwait.await(Uni<T> upstream,
Duration duration) |
static <T> CompletableFuture<T> |
UniSubscribeToCompletionStage.subscribe(Uni<T> uni) |
| Modifier and Type | Method and Description |
|---|---|
static <I,O> void |
UniFlatMapOnItem.invokeAndSubstitute(Function<? super I,? extends Uni<? extends O>> mapper,
I input,
UniSerializedSubscriber<? super O> subscriber,
UniFlatMapOnItem.FlatMapSubscription flatMapSubscription) |
| Constructor and Description |
|---|
UniAndCombination(Uni<? extends I> upstream,
List<? extends Uni<?>> others,
Function<List<?>,O> combinator,
boolean collectAllFailureBeforeFiring) |
UniCallSubscribeOn(Uni<? extends I> upstream,
Executor executor) |
UniDelayOnItem(Uni<T> upstream,
Duration duration,
ScheduledExecutorService executor) |
UniDelayUntil(Uni<T> upstream,
Function<? super T,? extends Uni<?>> function,
ScheduledExecutorService executor) |
UniFailOnTimeout(Uni<I> upstream,
Duration timeout,
Supplier<? extends Throwable> supplier,
ScheduledExecutorService executor) |
UniFlatMapCompletionStageOnItem(Uni<I> upstream,
Function<? super I,? extends CompletionStage<? extends O>> mapper) |
UniFlatMapOnFailure(Uni<I> upstream,
Predicate<? super Throwable> predicate,
Function<? super Throwable,? extends Uni<? extends I>> mapper) |
UniFlatMapOnItem(Uni<I> upstream,
Function<? super I,? extends Uni<? extends O>> mapper) |
UniMapOnFailure(Uni<I> upstream,
Predicate<? super Throwable> predicate,
Function<? super Throwable,? extends Throwable> mapper) |
UniMapOnResult(Uni<I> source,
Function<? super I,? extends O> mapper) |
UniOnCancellation(Uni<T> upstream,
Runnable callback) |
UniOnEventConsume(Uni<? extends T> upstream,
Consumer<? super T> onResult,
Consumer<Throwable> onFailure) |
UniOnSubscription(Uni<T> upstream,
Consumer<? super UniSubscription> consumer) |
UniOnTermination(Uni<T> upstream,
Functions.TriConsumer<T,Throwable,Boolean> callback) |
UniOperator(Uni<? extends I> upstream) |
UniOrCombination(Uni<? super T>[] array) |
UniProduceMultiOnItem(Uni<I> upstream,
Function<? super I,? extends org.reactivestreams.Publisher<? extends O>> mapper) |
UniRetryAtMost(Uni<T> upstream,
Predicate<? super Throwable> predicate,
long maxAttempts) |
| Constructor and Description |
|---|
UniAndCombination(Uni<? extends I> upstream,
List<? extends Uni<?>> others,
Function<List<?>,O> combinator,
boolean collectAllFailureBeforeFiring) |
UniCreateFromDeferredSupplier(Supplier<? extends Uni<? extends T>> supplier) |
UniDelayUntil(Uni<T> upstream,
Function<? super T,? extends Uni<?>> function,
ScheduledExecutorService executor) |
UniFlatMapOnFailure(Uni<I> upstream,
Predicate<? super Throwable> predicate,
Function<? super Throwable,? extends Uni<? extends I>> mapper) |
UniFlatMapOnItem(Uni<I> upstream,
Function<? super I,? extends Uni<? extends O>> mapper) |
UniOrCombination(Iterable<? extends Uni<? super T>> iterable) |
| Constructor and Description |
|---|
ResourceMulti(Supplier<? extends R> resourceSupplier,
Function<? super R,? extends org.reactivestreams.Publisher<I>> streamSupplier,
Function<? super R,Uni<Void>> onCompletion,
BiFunction<? super R,? super Throwable,Uni<Void>> onFailure,
Function<? super R,Uni<Void>> onCancellation) |
ResourceMulti(Supplier<? extends R> resourceSupplier,
Function<? super R,? extends org.reactivestreams.Publisher<I>> streamSupplier,
Function<? super R,Uni<Void>> onCompletion,
BiFunction<? super R,? super Throwable,Uni<Void>> onFailure,
Function<? super R,Uni<Void>> onCancellation) |
ResourceMulti(Supplier<? extends R> resourceSupplier,
Function<? super R,? extends org.reactivestreams.Publisher<I>> streamSupplier,
Function<? super R,Uni<Void>> onCompletion,
BiFunction<? super R,? super Throwable,Uni<Void>> onFailure,
Function<? super R,Uni<Void>> onCancellation) |
Copyright © 2019–2020 SmallRye. All rights reserved.