public class Concurrency extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| Concurrency() | 
| Concurrency(Concurrency 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 | getGracefulStopSeconds()Get 优雅终止任务的等待时间 | 
| Long | getIterationCount()Get 运行次数 | 
| Long | getMaxRequestsPerSecond()Get 最大RPS | 
| Long | getResources()Get 资源数 | 
| Stage[] | getStages()Get 多阶段配置数组
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setGracefulStopSeconds(Long GracefulStopSeconds)Set 优雅终止任务的等待时间 | 
| void | setIterationCount(Long IterationCount)Set 运行次数 | 
| void | setMaxRequestsPerSecond(Long MaxRequestsPerSecond)Set 最大RPS | 
| void | setResources(Long Resources)Set 资源数 | 
| void | setStages(Stage[] Stages)Set 多阶段配置数组
注意:此字段可能返回 null,表示取不到有效值。 | 
| 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 Concurrency()
public Concurrency(Concurrency source)
public Stage[] getStages()
public void setStages(Stage[] Stages)
Stages - 多阶段配置数组
注意:此字段可能返回 null,表示取不到有效值。public Long getIterationCount()
public void setIterationCount(Long IterationCount)
IterationCount - 运行次数public Long getMaxRequestsPerSecond()
public void setMaxRequestsPerSecond(Long MaxRequestsPerSecond)
MaxRequestsPerSecond - 最大RPSpublic Long getGracefulStopSeconds()
public void setGracefulStopSeconds(Long GracefulStopSeconds)
GracefulStopSeconds - 优雅终止任务的等待时间public Long getResources()
public void setResources(Long Resources)
Resources - 资源数Copyright © 2025. All rights reserved.