public class HeuristicCache extends AbstractModel
header, skipSign
Constructor and Description |
---|
HeuristicCache() |
HeuristicCache(HeuristicCache 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 |
---|---|
CacheConfig |
getCacheConfig()
Get 自定义启发式缓存时间配置
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSwitch()
Get 启发式缓存配置开关,取值有:
on:开启
off:关闭
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCacheConfig(CacheConfig CacheConfig)
Set 自定义启发式缓存时间配置
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSwitch(String Switch)
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, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public HeuristicCache()
public HeuristicCache(HeuristicCache source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- 启发式缓存配置开关,取值有:
on:开启
off:关闭
注意:此字段可能返回 null,表示取不到有效值。public CacheConfig getCacheConfig()
public void setCacheConfig(CacheConfig CacheConfig)
CacheConfig
- 自定义启发式缓存时间配置
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.