public class OSSRetryHandler
extends java.lang.Object
构造器和说明 |
---|
OSSRetryHandler(int maxRetryCount) |
限定符和类型 | 方法和说明 |
---|---|
void |
setMaxRetryCount(int maxRetryCount) |
OSSRetryType |
shouldRetry(java.lang.Exception e,
int currentRetryCount) |
long |
timeInterval(int currentRetryCount,
OSSRetryType retryType) |
public void setMaxRetryCount(int maxRetryCount)
public OSSRetryType shouldRetry(java.lang.Exception e, int currentRetryCount)
public long timeInterval(int currentRetryCount, OSSRetryType retryType)