public class CacheConfig extends AbstractModel
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 Unit: Second
|
String |
getHeuristicCacheTimeSwitch()
Get `on`: Enable
`off`: Disable
|
void |
setHeuristicCacheTime(Long HeuristicCacheTime)
Set Unit: Second
|
void |
setHeuristicCacheTimeSwitch(String HeuristicCacheTimeSwitch)
Set `on`: Enable
`off`: Disable
|
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 CacheConfig()
public CacheConfig(CacheConfig source)
public String getHeuristicCacheTimeSwitch()
public void setHeuristicCacheTimeSwitch(String HeuristicCacheTimeSwitch)
HeuristicCacheTimeSwitch
- `on`: Enable
`off`: Disablepublic Long getHeuristicCacheTime()
public void setHeuristicCacheTime(Long HeuristicCacheTime)
HeuristicCacheTime
- Unit: SecondCopyright © 2023. All rights reserved.