Class RetryCondition

  • All Implemented Interfaces:
    com.amazonaws.retry.RetryPolicy.RetryCondition

    public class RetryCondition
    extends com.amazonaws.retry.PredefinedRetryPolicies.SDKDefaultRetryCondition
    • Constructor Detail

      • RetryCondition

        public RetryCondition()
    • Method Detail

      • shouldRetry

        public boolean shouldRetry​(com.amazonaws.AmazonWebServiceRequest originalRequest,
                                   com.amazonaws.AmazonClientException exception,
                                   int retriesAttempted)
        Specified by:
        shouldRetry in interface com.amazonaws.retry.RetryPolicy.RetryCondition
        Overrides:
        shouldRetry in class com.amazonaws.retry.PredefinedRetryPolicies.SDKDefaultRetryCondition