Uses of Class
io.github.resilience4j.decorators.Decorators.DecorateCallable
-
Uses of Decorators.DecorateCallable in io.github.resilience4j.decorators
Methods in io.github.resilience4j.decorators that return Decorators.DecorateCallableModifier and TypeMethodDescriptionstatic <T> Decorators.DecorateCallable<T> Decorators.ofCallable(Callable<T> callable) Decorators.DecorateCallable.withBulkhead(io.github.resilience4j.bulkhead.Bulkhead bulkhead) Decorators.DecorateCallable.withCircuitBreaker(io.github.resilience4j.circuitbreaker.CircuitBreaker circuitBreaker) <X extends Throwable>
Decorators.DecorateCallable<T> Decorators.DecorateCallable.withFallback(Class<X> exceptionType, Function<Throwable, T> exceptionHandler) Decorators.DecorateCallable.withFallback(BiFunction<T, Throwable, T> handler) Decorators.DecorateCallable.withFallback(Function<Throwable, T> exceptionHandler) Decorators.DecorateCallable.withFallback(Predicate<T> resultPredicate, UnaryOperator<T> resultHandler) Decorators.DecorateCallable.withFallback(List<Class<? extends Throwable>> exceptionTypes, Function<Throwable, T> exceptionHandler) Decorators.DecorateCallable.withRateLimiter(io.github.resilience4j.ratelimiter.RateLimiter rateLimiter) Decorators.DecorateCallable.withRateLimiter(io.github.resilience4j.ratelimiter.RateLimiter rateLimiter, int permits) Decorators.DecorateCallable.withRetry(io.github.resilience4j.retry.Retry retryContext)