Interface ResourcesEndpointRetryPolicy

All Known Implementing Classes:
ContainerCredentialsRetryPolicy

public interface ResourcesEndpointRetryPolicy
Custom retry policy that retrieve information from a local endpoint in EC2 host. Internal use only.
  • Field Details

  • Method Details

    • shouldRetry

      boolean shouldRetry(int retriesAttempted, ResourcesEndpointRetryParameters retryParams)
      Returns whether a failed request should be retried.
      Parameters:
      retriesAttempted - The number of times the current request has been attempted.
      Returns:
      True if the failed request should be retried.