public class CacheConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
CacheConfig() |
CacheConfig(CacheConfig 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 |
getHeuristicCacheTime()
Get 单位 秒.
|
String |
getHeuristicCacheTimeSwitch()
Get 启发式自定义时间缓存配置开关,取值有:
on:开启
off:关闭
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setHeuristicCacheTime(Long HeuristicCacheTime)
Set 单位 秒.
|
void |
setHeuristicCacheTimeSwitch(String HeuristicCacheTimeSwitch)
Set 启发式自定义时间缓存配置开关,取值有:
on:开启
off:关闭
注意:此字段可能返回 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, toJsonString
public CacheConfig()
public CacheConfig(CacheConfig source)
public String getHeuristicCacheTimeSwitch()
public void setHeuristicCacheTimeSwitch(String HeuristicCacheTimeSwitch)
HeuristicCacheTimeSwitch
- 启发式自定义时间缓存配置开关,取值有:
on:开启
off:关闭
注意:此字段可能返回 null,表示取不到有效值。public Long getHeuristicCacheTime()
public void setHeuristicCacheTime(Long HeuristicCacheTime)
HeuristicCacheTime
- 单位 秒.
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.