public class StrategyConfig extends AbstractModel
header, 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 |
---|---|
Arg[] |
getArgs()
Get Parameters required in the instruction.
|
Long |
getBatchSize()
Get Rolling restart quantity per batch, which is up to 99999.
|
Long |
getDealOnFail()
Get Operation failure processing policy.
|
Long |
getRollingRestartSwitch()
Get 0: disable rolling restart.
|
Long |
getTimeWait()
Get Stop and wait time for rolling restart per batch, with the maximum interval of 5 minutes and the unit of seconds.
|
void |
setArgs(Arg[] Args)
Set Parameters required in the instruction.
|
void |
setBatchSize(Long BatchSize)
Set Rolling restart quantity per batch, which is up to 99999.
|
void |
setDealOnFail(Long DealOnFail)
Set Operation failure processing policy.
|
void |
setRollingRestartSwitch(Long RollingRestartSwitch)
Set 0: disable rolling restart.
|
void |
setTimeWait(Long TimeWait)
Set Stop and wait time for rolling restart per batch, with the maximum interval of 5 minutes and the unit of seconds.
|
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, toJsonString
public StrategyConfig()
public StrategyConfig(StrategyConfig source)
public Long getRollingRestartSwitch()
public void setRollingRestartSwitch(Long RollingRestartSwitch)
RollingRestartSwitch
- 0: disable rolling restart.
1: enable rolling start.public Long getBatchSize()
public void setBatchSize(Long BatchSize)
BatchSize
- Rolling restart quantity per batch, which is up to 99999.public Long getTimeWait()
public void setTimeWait(Long TimeWait)
TimeWait
- Stop and wait time for rolling restart per batch, with the maximum interval of 5 minutes and the unit of seconds.public Long getDealOnFail()
public void setDealOnFail(Long DealOnFail)
DealOnFail
- Operation failure processing policy. 0: Block upon failure, 1: Automatically skipping failure.public Arg[] getArgs()
public void setArgs(Arg[] Args)
Args
- Parameters required in the instruction.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.