public class RetryPolicy extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| RetryPolicy() | 
| RetryPolicy(RetryPolicy source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getMaxRetryAttempts()Get 最大重试次数 | 
| Long | getRetryInterval()Get 重试间隔 单位:秒 | 
| void | setMaxRetryAttempts(Long MaxRetryAttempts)Set 最大重试次数 | 
| void | setRetryInterval(Long RetryInterval)Set 重试间隔 单位:秒 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic RetryPolicy()
public RetryPolicy(RetryPolicy source)
public Long getRetryInterval()
public void setRetryInterval(Long RetryInterval)
RetryInterval - 重试间隔 单位:秒public Long getMaxRetryAttempts()
public void setMaxRetryAttempts(Long MaxRetryAttempts)
MaxRetryAttempts - 最大重试次数Copyright © 2025. All rights reserved.