Uses of Class
com.sap.cloud.sdk.cloudplatform.resilience.ResilienceConfiguration.RetryConfiguration
-
Uses of ResilienceConfiguration.RetryConfiguration in com.sap.cloud.sdk.cloudplatform.resilience
Modifier and TypeMethodDescriptionResilienceConfiguration.RetryConfiguration.disabled()
Instantiate a newRetryConfiguration
that only permits a single attempt, effectively disabling retries.ResilienceConfiguration.RetryConfiguration.of
(int maxAttempts) Instantiate a newRetryConfiguration
with the given parameter.Instantiate a newRetryConfiguration
with the given parameters.ResilienceConfiguration.retryConfiguration()
ResilienceConfiguration.RetryConfiguration.retryOnExceptionPredicate
(Predicate<Throwable> retryOnExceptionPredicate) A predicate which evaluates if an exception should be retried.ResilienceConfiguration.RetryConfiguration.waitDuration
(Duration waitDuration) The duration to wait before retrying.Modifier and TypeMethodDescriptionResilienceConfiguration.retryConfiguration
(ResilienceConfiguration.RetryConfiguration retryConfiguration)