public interface CredentialsEndpointRetryPolicy
| Modifier and Type | Field and Description |
|---|---|
static CredentialsEndpointRetryPolicy |
NO_RETRY_POLICY |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldRetry(int attemptedRetries,
CredentialsEndpointRetryParameters retryParameters)
Checks whether a failed request should be retried;
|
static final CredentialsEndpointRetryPolicy NO_RETRY_POLICY
boolean shouldRetry(int attemptedRetries,
CredentialsEndpointRetryParameters retryParameters)
attemptedRetries - The number of times the current request has been attempted.retryParameters - the requested error code and exception are wrapped in the retryParametersCopyright © 2023. All rights reserved.