Class RetryCondition

java.lang.Object
com.amazonaws.retry.PredefinedRetryPolicies.SDKDefaultRetryCondition
com.cloudbees.jenkins.plugins.amazonecs.aws.RetryCondition
All Implemented Interfaces:
com.amazonaws.retry.RetryPolicy.RetryCondition

public class RetryCondition extends com.amazonaws.retry.PredefinedRetryPolicies.SDKDefaultRetryCondition
  • Field Summary

    Fields inherited from interface com.amazonaws.retry.RetryPolicy.RetryCondition

    NO_RETRY_CONDITION
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    shouldRetry(com.amazonaws.AmazonWebServiceRequest originalRequest, com.amazonaws.AmazonClientException exception, int retriesAttempted)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RetryCondition

      public RetryCondition()
  • Method Details

    • 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