Interface ResourcesEndpointRetryPolicy


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

      • 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.