接口 FlowControlParam
- 所有已知实现类:
DefaultFlowControlParam
public interface FlowControlParam
流程控制参数
-
方法概要
修饰符和类型 方法 说明 intgetMaxRetry()流程最大重试次数longgetRetryIntervalMs()重试间隔时间longgetTimeoutMs()流程超时时间voidsetMaxRetry(int maxRetry)设置最大重试次数voidsetRetryIntervalMs(long retryIntervalMs)设置重试间隔voidsetTimeoutMs(long timeoutMs)设置流程超时时间
-
方法详细资料
-
getTimeoutMs
long getTimeoutMs()流程超时时间- 返回:
- ms
-
setTimeoutMs
void setTimeoutMs(long timeoutMs)设置流程超时时间- 参数:
timeoutMs- 超时毫秒
-
getRetryIntervalMs
long getRetryIntervalMs()重试间隔时间- 返回:
- ms
-
setRetryIntervalMs
void setRetryIntervalMs(long retryIntervalMs)设置重试间隔- 参数:
retryIntervalMs- 重试间隔
-
getMaxRetry
int getMaxRetry()流程最大重试次数- 返回:
- int
-
setMaxRetry
void setMaxRetry(int maxRetry)设置最大重试次数- 参数:
maxRetry- 最大重试次数
-