public class CachePrefreshParameters extends AbstractModel
header, skipSign
Constructor and Description |
---|
CachePrefreshParameters() |
CachePrefreshParameters(CachePrefreshParameters 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 |
getCacheTimePercent()
Get 预刷新时间设置为节点缓存时间的百分比数值,取值:1~99。
注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。 |
String |
getSwitch()
Get 缓存预刷新开关,取值有:
on:开启;
off:关闭。
|
void |
setCacheTimePercent(Long CacheTimePercent)
Set 预刷新时间设置为节点缓存时间的百分比数值,取值:1~99。
注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。 |
void |
setSwitch(String Switch)
Set 缓存预刷新开关,取值有:
on:开启;
off:关闭。
|
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 CachePrefreshParameters()
public CachePrefreshParameters(CachePrefreshParameters source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- 缓存预刷新开关,取值有:
public Long getCacheTimePercent()
public void setCacheTimePercent(Long CacheTimePercent)
CacheTimePercent
- 预刷新时间设置为节点缓存时间的百分比数值,取值:1~99。Copyright © 2025. All rights reserved.