Uses of Class
com.sap.cloud.sdk.cloudplatform.resilience.ResilienceConfiguration
Package
Description
-
Uses of ResilienceConfiguration in com.sap.cloud.sdk.cloudplatform.resilience
Modifier and TypeMethodDescriptionResilienceConfiguration.bulkheadConfiguration
(ResilienceConfiguration.BulkheadConfiguration bulkheadConfiguration) ResilienceConfiguration.cacheConfiguration
(ResilienceConfiguration.CacheConfiguration cacheConfiguration) ResilienceConfiguration.circuitBreakerConfiguration
(ResilienceConfiguration.CircuitBreakerConfiguration circuitBreakerConfiguration) static ResilienceConfiguration
Factory function to create a resilience configuration with all resilience features disabled by default.static ResilienceConfiguration
Factory function to create a resilience configuration with all resilience features disabled by default.ResilienceConfiguration.isolationMode
(ResilienceIsolationMode isolationMode) static ResilienceConfiguration
Factory function to create a resilience configuration with only a subset of resilience features enabled by default.static ResilienceConfiguration
Factory function to create a resilience configuration with default values for the given identifier.ResilienceConfiguration.rateLimiterConfiguration
(ResilienceConfiguration.RateLimiterConfiguration rateLimiterConfiguration) ResilienceConfiguration.retryConfiguration
(ResilienceConfiguration.RetryConfiguration retryConfiguration) ResilienceConfiguration.timeLimiterConfiguration
(ResilienceConfiguration.TimeLimiterConfiguration timeLimiterConfiguration) Modifier and TypeMethodDescriptiondefault void
ResilienceDecorationStrategy.clearAllCacheEntries
(ResilienceConfiguration configuration) Clears the entire cache associated with the givenResilienceConfiguration
if any exists, independent of the specifiedResilienceIsolationMode
and defined parameters.static void
ResilienceDecorator.clearAllCacheEntries
(ResilienceConfiguration configuration) Clears the entire cache associated with the givenResilienceConfiguration
if any exists, independent of the specifiedResilienceIsolationMode
and defined parameters.default void
ResilienceDecorationStrategy.clearCache
(ResilienceConfiguration configuration) Clears the cache associated with the givenResilienceConfiguration
if any exists.default void
ResilienceDecorationStrategy.clearCache
(ResilienceConfiguration configuration, CacheFilter filter) Clears the cache associated with the givenResilienceConfiguration
by respecting the providedCacheFilter
.static void
ResilienceDecorator.clearCache
(ResilienceConfiguration configuration) Clears the cache associated with the givenResilienceConfiguration
if any exists.static void
ResilienceDecorator.clearCache
(ResilienceConfiguration configuration, CacheFilter filter) Clears the cache associated with the givenResilienceConfiguration
if any exists.<T> Callable<T>
NoResilienceDecorationStrategy.decorateCallable
(Callable<T> callable, ResilienceConfiguration configuration, Function<? super Throwable, T> fallbackFunction) default <T> Callable<T>
ResilienceDecorationStrategy.decorateCallable
(Callable<T> callable, ResilienceConfiguration configuration) Decorate an instance of a callable function.<T> Callable<T>
ResilienceDecorationStrategy.decorateCallable
(Callable<T> callable, ResilienceConfiguration configuration, Function<? super Throwable, T> fallbackFunction) Decorate an instance of a callable function.static <T> Callable<T>
ResilienceDecorator.decorateCallable
(Callable<T> callable, ResilienceConfiguration configuration) Decorate an instance of a callable function.static <T> Callable<T>
ResilienceDecorator.decorateCallable
(Callable<T> callable, ResilienceConfiguration configuration, Function<? super Throwable, T> fallbackFunction) Decorate an instance of a callable function.<T> Supplier<T>
NoResilienceDecorationStrategy.decorateSupplier
(Supplier<T> supplier, ResilienceConfiguration configuration, Function<? super Throwable, T> fallbackFunction) default <T> Supplier<T>
ResilienceDecorationStrategy.decorateSupplier
(Supplier<T> supplier, ResilienceConfiguration configuration) Decorate an instance of a supplier function.<T> Supplier<T>
ResilienceDecorationStrategy.decorateSupplier
(Supplier<T> supplier, ResilienceConfiguration configuration, Function<? super Throwable, T> fallbackFunction) Decorate an instance of a supplier function.static <T> Supplier<T>
ResilienceDecorator.decorateSupplier
(Supplier<T> supplier, ResilienceConfiguration configuration) Decorate an instance of a supplier function.static <T> Supplier<T>
ResilienceDecorator.decorateSupplier
(Supplier<T> supplier, ResilienceConfiguration configuration, Function<? super Throwable, T> fallbackFunction) Decorate an instance of a supplier function.default <T> T
ResilienceDecorationStrategy.executeCallable
(Callable<T> callable, ResilienceConfiguration configuration) Decorate and execute an instance of a callable function.default <T> T
ResilienceDecorationStrategy.executeCallable
(Callable<T> callable, ResilienceConfiguration configuration, Function<? super Throwable, T> fallbackFunction) Decorate and execute an instance of a callable function.static <T> T
ResilienceDecorator.executeCallable
(Callable<T> callable, ResilienceConfiguration configuration) Decorate and execute an instance of a callable function.static <T> T
ResilienceDecorator.executeCallable
(Callable<T> callable, ResilienceConfiguration configuration, Function<? super Throwable, T> fallbackFunction) Decorate and execute an instance of a callable function.default <T> T
ResilienceDecorationStrategy.executeSupplier
(Supplier<T> supplier, ResilienceConfiguration configuration) Decorate and execute an instance of a supplier function.default <T> T
ResilienceDecorationStrategy.executeSupplier
(Supplier<T> supplier, ResilienceConfiguration configuration, Function<? super Throwable, T> fallbackFunction) Decorate and execute an instance of a supplier function.static <T> T
ResilienceDecorator.executeSupplier
(Supplier<T> supplier, ResilienceConfiguration configuration) Decorate and execute an instance of a supplier function.static <T> T
ResilienceDecorator.executeSupplier
(Supplier<T> supplier, ResilienceConfiguration configuration, Function<? super Throwable, T> fallbackFunction) Decorate and execute an instance of a supplier function.boolean
CacheFilter.matches
(ResilienceConfiguration configuration, GenericCacheKey<?, ?> cacheKey, Object cacheEntry) Determines whether a specific cache entry matches the expectations of this cache filter.default <T> CompletableFuture<T>
ResilienceDecorationStrategy.queueCallable
(Callable<T> callable, ResilienceConfiguration configuration, Function<? super Throwable, T> fallbackFunction) Decorate an instance of a callable function.static <T> CompletableFuture<T>
ResilienceDecorator.queueCallable
(Callable<T> callable, ResilienceConfiguration configuration) Decorate an instance of a callable function.static <T> CompletableFuture<T>
ResilienceDecorator.queueCallable
(Callable<T> callable, ResilienceConfiguration configuration, Function<? super Throwable, T> fallbackFunction) Decorate an instance of a callable function.default <T> CompletableFuture<T>
ResilienceDecorationStrategy.queueSupplier
(Supplier<T> supplier, ResilienceConfiguration configuration, Function<? super Throwable, T> fallbackFunction) Decorate an instance of a supplier function.static <T> CompletableFuture<T>
ResilienceDecorator.queueSupplier
(Supplier<T> supplier, ResilienceConfiguration configuration) Decorate an instance of a supplier function.static <T> CompletableFuture<T>
ResilienceDecorator.queueSupplier
(Supplier<T> supplier, ResilienceConfiguration configuration, Function<? super Throwable, T> fallbackFunction) Decorate an instance of a supplier function. -
Uses of ResilienceConfiguration in com.sap.cloud.sdk.cloudplatform.resilience4j
Modifier and TypeMethodDescriptionvoid
Resilience4jDecorationStrategy.clearAllCacheEntries
(ResilienceConfiguration configuration) void
Resilience4jDecorationStrategy.clearCache
(ResilienceConfiguration configuration) void
Resilience4jDecorationStrategy.clearCache
(ResilienceConfiguration configuration, CacheFilter filter) <T> Callable<T>
DefaultBulkheadProvider.decorateCallable
(Callable<T> callable, ResilienceConfiguration configuration) <T> Callable<T>
DefaultCachingDecorator.decorateCallable
(Callable<T> callable, ResilienceConfiguration configuration) <T> Callable<T>
DefaultCircuitBreakerProvider.decorateCallable
(Callable<T> callable, ResilienceConfiguration configuration) <T> Callable<T>
DefaultRateLimiterProvider.decorateCallable
(Callable<T> callable, ResilienceConfiguration configuration) <T> Callable<T>
DefaultRetryProvider.decorateCallable
(Callable<T> callable, ResilienceConfiguration configuration) <T> Callable<T>
DefaultTimeLimiterProvider.decorateCallable
(Callable<T> callable, ResilienceConfiguration configuration) <T> Callable<T>
GenericDecorator.decorateCallable
(Callable<T> callable, ResilienceConfiguration configuration) Decorates the given callable to enable a resilient property.<T> Callable<T>
Resilience4jDecorationStrategy.decorateCallable
(Callable<T> callable, ResilienceConfiguration config, Function<? super Throwable, T> fallbackFunction) <T> Supplier<T>
Resilience4jDecorationStrategy.decorateSupplier
(Supplier<T> supplier, ResilienceConfiguration configuration, Function<? super Throwable, T> fallbackFunction) io.github.resilience4j.bulkhead.Bulkhead
BulkheadProvider.getBulkhead
(ResilienceConfiguration configuration) Provides a bulkhead.io.github.resilience4j.bulkhead.Bulkhead
DefaultBulkheadProvider.getBulkhead
(ResilienceConfiguration configuration) io.github.resilience4j.circuitbreaker.CircuitBreaker
CircuitBreakerProvider.getCircuitBreaker
(ResilienceConfiguration configuration) Provides a circuit breaker.io.github.resilience4j.circuitbreaker.CircuitBreaker
DefaultCircuitBreakerProvider.getCircuitBreaker
(ResilienceConfiguration configuration) io.github.resilience4j.ratelimiter.RateLimiter
DefaultRateLimiterProvider.getRateLimiter
(ResilienceConfiguration configuration) io.github.resilience4j.ratelimiter.RateLimiter
RateLimiterProvider.getRateLimiter
(ResilienceConfiguration configuration) Provides a rate limiter.io.github.resilience4j.retry.Retry
DefaultRetryProvider.getRetry
(ResilienceConfiguration configuration) io.github.resilience4j.retry.Retry
RetryProvider.getRetry
(ResilienceConfiguration configuration) Provides a retry.io.github.resilience4j.timelimiter.TimeLimiter
DefaultTimeLimiterProvider.getTimeLimiter
(ResilienceConfiguration configuration) io.github.resilience4j.timelimiter.TimeLimiter
TimeLimiterProvider.getTimeLimiter
(ResilienceConfiguration configuration) Provides a time limiter.