Package icu.easyj.web.cache304.config
Class Cache304Config
java.lang.Object
icu.easyj.web.cache304.config.Cache304Config
- All Implemented Interfaces:
Serializable
Cache304配置类
- Author:
- wangliang181230
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlonglongbooleanbooleanvoidsetCacheDays(int cacheDays) voidsetCacheSeconds(long cacheSeconds) voidsetLimitMaxAge(long limitMaxAge) voidsetUseCacheIfException(boolean useCacheIfException) voidsetUseMaxAge(boolean useMaxAge)
-
Constructor Details
-
Cache304Config
public Cache304Config()
-
-
Method Details
-
getCacheSeconds
public long getCacheSeconds() -
setCacheSeconds
public void setCacheSeconds(long cacheSeconds) -
getCacheDays
public int getCacheDays() -
setCacheDays
public void setCacheDays(int cacheDays) -
isUseMaxAge
public boolean isUseMaxAge() -
setUseMaxAge
public void setUseMaxAge(boolean useMaxAge) -
getLimitMaxAge
public long getLimitMaxAge() -
setLimitMaxAge
public void setLimitMaxAge(long limitMaxAge) -
isUseCacheIfException
public boolean isUseCacheIfException() -
setUseCacheIfException
public void setUseCacheIfException(boolean useCacheIfException)
-