com.aliyun.oss.common.comm

## 类 RetryStrategy

- java.lang.Object
- - com.aliyun.oss.common.comm.RetryStrategy

- 直接已知子类:
    NoRetryStrategy

      public abstract class RetryStrategy
      extends Object

- - ### 构造器概要

    构造器
    构造器和说明
    `RetryStrategy()`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `long` | `getPauseDelay(int retries)`
    `abstract boolean` | `shouldRetry(Exception ex, RequestMessage request, ResponseMessage response, int retries)`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### RetryStrategy

          public RetryStrategy()

  - ### 方法详细资料

    - #### shouldRetry

          public abstract boolean shouldRetry(Exception ex,
                            RequestMessage request,
                            ResponseMessage response,
                            int retries)

    - #### getPauseDelay

          public long getPauseDelay(int retries)

Copyright © 2020. All Rights Reserved.