public class InstanceCredentialsRetryPolicy extends Object implements CredentialsEndpointRetryPolicy
NO_RETRY_POLICY| Modifier and Type | Method and Description |
|---|---|
static InstanceCredentialsRetryPolicy |
getInstance() |
boolean |
shouldRetry(int attemptedRetries,
CredentialsEndpointRetryParameters retryParameters)
Checks whether a failed request should be retried;
|
public static InstanceCredentialsRetryPolicy getInstance()
public boolean shouldRetry(int attemptedRetries,
CredentialsEndpointRetryParameters retryParameters)
CredentialsEndpointRetryPolicyshouldRetry in interface CredentialsEndpointRetryPolicyattemptedRetries - 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.