JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.retry

Class RetryPolicyAdapter

    • Method Detail

      • computeDelayBeforeNextRetry

        public long computeDelayBeforeNextRetry(RetryPolicyContext context)
        Description copied from interface: BackoffStrategy
        Compute the delay before the next retry request. This strategy is only consulted when there will be a next retry.
        Specified by:
        computeDelayBeforeNextRetry in interface BackoffStrategy
        Parameters:
        context - Context about the state of the last request and information about the number of requests made.
        Returns:
        Amount of time in milliseconds to wait before the next attempt. Must be non-negative (can be zero).
      • shouldRetry

        public boolean shouldRetry(RetryPolicyContext context)
        Description copied from interface: RetryCondition
        Determine whether a request should or should not be retried.
        Specified by:
        shouldRetry in interface RetryCondition
        Parameters:
        context - Context about the state of the last request and information about the number of requests made.
        Returns:
        True if the request should be retried, false if not.
      • getLegacyRetryPolicy

        public RetryPolicy getLegacyRetryPolicy()
      • getMaxErrorRetry

        public int getMaxErrorRetry()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /