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 Advanced cache expiration configuration (This feature is in beta and not generally available yet.)
Note: this field may return null, indicating that no valid values can be obtained. | 
| RuleCache[] | getRuleCache()Get Advanced path cache configuration
Note: this field may return null, indicating that no valid value is 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 Advanced cache expiration configuration (This feature is in beta and not generally available yet.)
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setRuleCache(RuleCache[] RuleCache)Set Advanced path cache configuration
Note: this field may return null, indicating that no valid value is 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, toJsonStringpublic 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 - Advanced cache expiration configuration (This feature is in beta and not generally available yet.)
Note: this field may return null, indicating that no valid values 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 is obtained.Copyright © 2021. All rights reserved.