Uses of Class
io.github.resilience4j.decorators.Decorators.DecorateCompletionStage
-
Uses of Decorators.DecorateCompletionStage in io.github.resilience4j.decorators
Methods in io.github.resilience4j.decorators that return Decorators.DecorateCompletionStageModifier and TypeMethodDescriptionstatic <T> Decorators.DecorateCompletionStage<T> Decorators.ofCompletionStage(Supplier<CompletionStage<T>> stageSupplier) Decorators.DecorateCompletionStage.withBulkhead(io.github.resilience4j.bulkhead.Bulkhead bulkhead) Decorators.DecorateCompletionStage.withCircuitBreaker(io.github.resilience4j.circuitbreaker.CircuitBreaker circuitBreaker) <X extends Throwable>
Decorators.DecorateCompletionStage<T> Decorators.DecorateCompletionStage.withFallback(Class<X> exceptionType, Function<Throwable, T> exceptionHandler) Decorators.DecorateCompletionStage.withFallback(BiFunction<T, Throwable, T> handler) Decorators.DecorateCompletionStage.withFallback(Function<Throwable, T> exceptionHandler) Decorators.DecorateCompletionStage.withFallback(Predicate<T> resultPredicate, UnaryOperator<T> resultHandler) Decorators.DecorateCompletionStage.withFallback(List<Class<? extends Throwable>> exceptionTypes, Function<Throwable, T> exceptionHandler) Decorators.DecorateCompletionStage.withRateLimiter(io.github.resilience4j.ratelimiter.RateLimiter rateLimiter) Decorators.DecorateCompletionStage.withRateLimiter(io.github.resilience4j.ratelimiter.RateLimiter rateLimiter, int permits) Decorators.DecorateCompletionStage.withRetry(io.github.resilience4j.retry.Retry retryContext, ScheduledExecutorService scheduler) Decorators.DecorateCallable.withThreadPoolBulkhead(io.github.resilience4j.bulkhead.ThreadPoolBulkhead threadPoolBulkhead) Decorators.DecorateRunnable.withThreadPoolBulkhead(io.github.resilience4j.bulkhead.ThreadPoolBulkhead threadPoolBulkhead) Decorators.DecorateSupplier.withThreadPoolBulkhead(io.github.resilience4j.bulkhead.ThreadPoolBulkhead threadPoolBulkhead) Decorators.DecorateCompletionStage.withTimeLimiter(io.github.resilience4j.timelimiter.TimeLimiter timeLimiter, ScheduledExecutorService scheduler)