public class StrategyConfig extends AbstractModel
skipSign
Constructor and Description |
---|
StrategyConfig() |
StrategyConfig(StrategyConfig 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 |
getBatchSize()
Get 滚动重启每批次的重启数量,最大重启台数为 99999 台
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getDealOnFail()
Get 操作失败处理策略,0:失败阻塞, 1:失败自动跳过
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getRollingRestartSwitch()
Get 0:关闭滚动重启
1:开启滚动启动
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getTimeWait()
Get 滚动重启每批停止等待时间 ,最大间隔为 5 分钟 单位是秒
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setBatchSize(Long BatchSize)
Set 滚动重启每批次的重启数量,最大重启台数为 99999 台
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setDealOnFail(Long DealOnFail)
Set 操作失败处理策略,0:失败阻塞, 1:失败自动跳过
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRollingRestartSwitch(Long RollingRestartSwitch)
Set 0:关闭滚动重启
1:开启滚动启动
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTimeWait(Long TimeWait)
Set 滚动重启每批停止等待时间 ,最大间隔为 5 分钟 单位是秒
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public StrategyConfig()
public StrategyConfig(StrategyConfig source)
public Long getRollingRestartSwitch()
public void setRollingRestartSwitch(Long RollingRestartSwitch)
RollingRestartSwitch
- 0:关闭滚动重启
1:开启滚动启动
注意:此字段可能返回 null,表示取不到有效值。public Long getBatchSize()
public void setBatchSize(Long BatchSize)
BatchSize
- 滚动重启每批次的重启数量,最大重启台数为 99999 台
注意:此字段可能返回 null,表示取不到有效值。public Long getTimeWait()
public void setTimeWait(Long TimeWait)
TimeWait
- 滚动重启每批停止等待时间 ,最大间隔为 5 分钟 单位是秒
注意:此字段可能返回 null,表示取不到有效值。public Long getDealOnFail()
public void setDealOnFail(Long DealOnFail)
DealOnFail
- 操作失败处理策略,0:失败阻塞, 1:失败自动跳过
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2023. All rights reserved.