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 Prefresh interval set as a percentage of the node cache time.
|
String |
getSwitch()
Get Whether to enable cache prefresh.
|
void |
setCacheTimePercent(Long CacheTimePercent)
Set Prefresh interval set as a percentage of the node cache time.
|
void |
setSwitch(String Switch)
Set Whether to enable cache prefresh.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CachePrefreshParameters()
public CachePrefreshParameters(CachePrefreshParameters source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Whether to enable cache prefresh. values:.
public Long getCacheTimePercent()
public void setCacheTimePercent(Long CacheTimePercent)
CacheTimePercent
- Prefresh interval set as a percentage of the node cache time. value range: 1-99.Copyright © 2025. All rights reserved.