public class Cache extends AbstractModel
Constructor and Description |
---|
Cache() |
Cache(Cache 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 |
---|---|
AdvancedCache |
getAdvancedCache()
Get (Disused) Advanced cache validity configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
RuleCache[] |
getRuleCache()
Get Advanced path cache configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
SimpleCache |
getSimpleCache()
Get Basic cache expiration time configuration
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setAdvancedCache(AdvancedCache AdvancedCache)
Set (Disused) Advanced cache validity configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setRuleCache(RuleCache[] RuleCache)
Set Advanced path cache configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setSimpleCache(SimpleCache SimpleCache)
Set Basic cache expiration time configuration
Note: this field may return `null`, indicating that no valid values can be obtained.
|
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 Cache()
public Cache(Cache source)
public SimpleCache getSimpleCache()
public void setSimpleCache(SimpleCache SimpleCache)
SimpleCache
- Basic cache expiration time configuration
Note: this field may return `null`, indicating that no valid values can be obtained.public AdvancedCache getAdvancedCache()
public void setAdvancedCache(AdvancedCache AdvancedCache)
AdvancedCache
- (Disused) Advanced cache validity configuration
Note: This field may return `null`, indicating that no valid value can be obtained.public RuleCache[] getRuleCache()
public void setRuleCache(RuleCache[] RuleCache)
RuleCache
- Advanced path cache configuration
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2023. All rights reserved.