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