public class WarmupSetting extends AbstractModel
Constructor and Description |
---|
WarmupSetting() |
WarmupSetting(WarmupSetting 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 |
getCurvature()
Get 预热曲率,取值 1~5
|
Boolean |
getEnabled()
Get 是否开启预热
|
Boolean |
getEnabledProtection()
Get 是否开启预热保护,在开启保护的情况下,超过 50% 的节点处于预热中,则会中止预热
|
Long |
getWarmupTime()
Get 预热时间
|
void |
setCurvature(Long Curvature)
Set 预热曲率,取值 1~5
|
void |
setEnabled(Boolean Enabled)
Set 是否开启预热
|
void |
setEnabledProtection(Boolean EnabledProtection)
Set 是否开启预热保护,在开启保护的情况下,超过 50% 的节点处于预热中,则会中止预热
|
void |
setWarmupTime(Long WarmupTime)
Set 预热时间
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public WarmupSetting()
public WarmupSetting(WarmupSetting source)
public Boolean getEnabled()
public void setEnabled(Boolean Enabled)
Enabled
- 是否开启预热public Long getWarmupTime()
public void setWarmupTime(Long WarmupTime)
WarmupTime
- 预热时间public Long getCurvature()
public void setCurvature(Long Curvature)
Curvature
- 预热曲率,取值 1~5public Boolean getEnabledProtection()
public void setEnabledProtection(Boolean EnabledProtection)
EnabledProtection
- 是否开启预热保护,在开启保护的情况下,超过 50% 的节点处于预热中,则会中止预热Copyright © 2023. All rights reserved.