public class OSSRetryHandler
extends java.lang.Object
| Constructor and Description |
|---|
OSSRetryHandler(int maxRetryCount) |
| Modifier and Type | Method and Description |
|---|---|
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)