Uses of Interface
io.github.resilience4j.core.functions.CheckedFunction
Packages that use CheckedFunction
-
Uses of CheckedFunction in io.github.resilience4j.core
Methods in io.github.resilience4j.core with parameters of type CheckedFunctionModifier and TypeMethodDescriptionstatic <T> CheckedSupplier<T> CheckedFunctionUtils.recover(CheckedSupplier<T> supplier, CheckedFunction<Throwable, T> exceptionHandler) Returns a composed supplier that first executes the supplier and optionally recovers from an exception.static <X extends Throwable,T>
CheckedSupplier<T> CheckedFunctionUtils.recover(CheckedSupplier<T> supplier, Class<X> exceptionType, CheckedFunction<Throwable, T> exceptionHandler) Returns a composed supplier that first executes the supplier and optionally recovers from an exception.static <T> CheckedSupplier<T> CheckedFunctionUtils.recover(CheckedSupplier<T> supplier, Predicate<T> resultPredicate, CheckedFunction<T, T> resultHandler) Returns a composed supplier that first executes the supplier and optionally recovers from a specific result.static <T> CheckedSupplier<T> CheckedFunctionUtils.recover(CheckedSupplier<T> supplier, List<Class<? extends Throwable>> exceptionTypes, CheckedFunction<Throwable, T> exceptionHandler) Returns a composed supplier that first executes the supplier and optionally recovers from an exception. -
Uses of CheckedFunction in io.github.resilience4j.core.functions
Methods in io.github.resilience4j.core.functions with parameters of type CheckedFunctionModifier and TypeMethodDescriptiondefault <V> CheckedSupplier<V> CheckedSupplier.andThen(CheckedFunction<? super T, ? extends V> after)