Package | Description |
---|---|
com.sap.cloud.sdk.cloudplatform.resilience |
Modifier and Type | Method and Description |
---|---|
static ResilienceConfiguration.RetryConfiguration |
ResilienceConfiguration.RetryConfiguration.disabled()
Instantiate a new
RetryConfiguration that only permits a single attempt, effectively disabling
retries. |
static ResilienceConfiguration.RetryConfiguration |
ResilienceConfiguration.RetryConfiguration.of(int maxAttempts)
Instantiate a new
RetryConfiguration with the given parameter. |
static ResilienceConfiguration.RetryConfiguration |
ResilienceConfiguration.RetryConfiguration.of(int maxAttempts,
Duration waitDuration)
Instantiate a new
RetryConfiguration with the given parameters. |
static ResilienceConfiguration.RetryConfiguration |
ResilienceConfiguration.RetryConfiguration.ofDefaults()
Deprecated.
Please use
of(int) instead. |
ResilienceConfiguration.RetryConfiguration |
ResilienceConfiguration.retryConfiguration() |
ResilienceConfiguration.RetryConfiguration |
ResilienceConfiguration.RetryConfiguration.retryOnExceptionPredicate(@NonNull Predicate<Throwable> retryOnExceptionPredicate)
A predicate which evaluates if an exception should be retried.
|
ResilienceConfiguration.RetryConfiguration |
ResilienceConfiguration.RetryConfiguration.waitDuration(@NonNull Duration waitDuration)
The duration to wait before retrying.
|
Modifier and Type | Method and Description |
---|---|
ResilienceConfiguration |
ResilienceConfiguration.retryConfiguration(ResilienceConfiguration.RetryConfiguration retryConfiguration) |
Copyright © 2021 SAP SE. All rights reserved.