Class UniCreateFromFailureSupplier<T>
- java.lang.Object
-
- io.smallrye.mutiny.operators.AbstractUni<T>
-
- io.smallrye.mutiny.operators.uni.builders.UniCreateFromFailureSupplier<T>
-
- Type Parameters:
T
- the type of the item
- All Implemented Interfaces:
Uni<T>
public class UniCreateFromFailureSupplier<T> extends AbstractUni<T>
SpecializedUni
implementation for the case where the failure is produced by a supplier. The supplied failure cannot benull
.
-
-
Constructor Summary
Constructors Constructor Description UniCreateFromFailureSupplier(java.util.function.Supplier<java.lang.Throwable> supplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
subscribe(UniSubscriber<? super T> subscriber)
-
Methods inherited from class io.smallrye.mutiny.operators.AbstractUni
await, awaitUsing, cache, convert, emitOn, ifNoItem, log, log, memoize, onCancellation, onFailure, onFailure, onFailure, onItem, onItemOrFailure, onSubscribe, onSubscription, onTermination, repeat, runSubscriptionOn, subscribe, subscribe, toMulti, withContext
-
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.Uni
attachContext, call, call, chain, chain, eventually, eventually, flatMap, invoke, invoke, map, plug, replaceIfNullWith, replaceIfNullWith, replaceWith, replaceWith, replaceWith, replaceWithNull, replaceWithVoid, stage, subscribeAsCompletionStage, subscribeAsCompletionStage
-
-
-
-
Method Detail
-
subscribe
public void subscribe(UniSubscriber<? super T> subscriber)
- Specified by:
subscribe
in classAbstractUni<T>
-
-