Class SingleSupport<T>
- java.lang.Object
-
- io.smallrye.faulttolerance.rxjava3.impl.SingleSupport<T>
-
- All Implemented Interfaces:
AsyncSupport<T,io.reactivex.rxjava3.core.Single<T>>
public class SingleSupport<T> extends Object implements AsyncSupport<T,io.reactivex.rxjava3.core.Single<T>>
-
-
Constructor Summary
Constructors Constructor Description SingleSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapplies(Class<?>[] parameterTypes, Class<?> returnType)StringdoesDescription()CompletionStage<T>fallbackResultToCompletionStage(io.reactivex.rxjava3.core.Single<T> single)io.reactivex.rxjava3.core.Single<T>fromCompletionStage(Invoker<CompletionStage<T>> invoker)StringmustDescription()CompletionStage<T>toCompletionStage(Invoker<io.reactivex.rxjava3.core.Single<T>> invoker)
-
-
-
Method Detail
-
mustDescription
public String mustDescription()
- Specified by:
mustDescriptionin interfaceAsyncSupport<T,io.reactivex.rxjava3.core.Single<T>>
-
doesDescription
public String doesDescription()
- Specified by:
doesDescriptionin interfaceAsyncSupport<T,io.reactivex.rxjava3.core.Single<T>>
-
applies
public boolean applies(Class<?>[] parameterTypes, Class<?> returnType)
- Specified by:
appliesin interfaceAsyncSupport<T,io.reactivex.rxjava3.core.Single<T>>
-
toCompletionStage
public CompletionStage<T> toCompletionStage(Invoker<io.reactivex.rxjava3.core.Single<T>> invoker) throws Exception
- Specified by:
toCompletionStagein interfaceAsyncSupport<T,io.reactivex.rxjava3.core.Single<T>>- Throws:
Exception
-
fromCompletionStage
public io.reactivex.rxjava3.core.Single<T> fromCompletionStage(Invoker<CompletionStage<T>> invoker)
- Specified by:
fromCompletionStagein interfaceAsyncSupport<T,io.reactivex.rxjava3.core.Single<T>>
-
fallbackResultToCompletionStage
public CompletionStage<T> fallbackResultToCompletionStage(io.reactivex.rxjava3.core.Single<T> single)
- Specified by:
fallbackResultToCompletionStagein interfaceAsyncSupport<T,io.reactivex.rxjava3.core.Single<T>>
-
-