public class CacheRule extends AbstractModel
Constructor and Description |
---|
CacheRule() |
Modifier and Type | Method and Description |
---|---|
String[] |
getCacheContents()
Get 缓存内容列表。
|
Long |
getCacheTime()
Get 缓存时间,单位秒。
|
String |
getCacheType()
Get 缓存类型,支持all,file,directory,path,index,分别表示全部文件,后缀类型,目录,完整路径,首页。
|
void |
setCacheContents(String[] CacheContents)
Set 缓存内容列表。
|
void |
setCacheTime(Long CacheTime)
Set 缓存时间,单位秒。
|
void |
setCacheType(String CacheType)
Set 缓存类型,支持all,file,directory,path,index,分别表示全部文件,后缀类型,目录,完整路径,首页。
|
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 String getCacheType()
public void setCacheType(String CacheType)
CacheType
- 缓存类型,支持all,file,directory,path,index,分别表示全部文件,后缀类型,目录,完整路径,首页。public String[] getCacheContents()
public void setCacheContents(String[] CacheContents)
CacheContents
- 缓存内容列表。public Long getCacheTime()
public void setCacheTime(Long CacheTime)
CacheTime
- 缓存时间,单位秒。Copyright © 2020. All rights reserved.