类 CacheProperties
java.lang.Object
org.springframework.boot.autoconfigure.cache.CacheProperties
Configuration properties for the cache abstraction.
- 从以下版本开始:
- 1.3.0
- 作者:
- Stephane Nicoll, Eddú Meléndez, Ryon Day
-
嵌套类概要
嵌套类修饰符和类型类说明static classCaffeine specific cache properties.static classCouchbase specific cache properties.static classInfinispan specific cache properties.static classJCache (JSR-107) specific cache properties.static classRedis-specific cache properties. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getRedis()getType()resolveConfigLocation(Resource config) Resolve the config location if set.voidsetCacheNames(List<String> cacheNames) void
-
构造器详细资料
-
CacheProperties
public CacheProperties()
-
-
方法详细资料
-
getType
-
setType
-
getCacheNames
-
setCacheNames
-
getCaffeine
-
getCouchbase
-
getInfinispan
-
getJcache
-
getRedis
-
resolveConfigLocation
Resolve the config location if set.- 参数:
config- the config resource- 返回:
- the location or
nullif it is not set - 抛出:
IllegalArgumentException- if the config attribute is set to an unknown location
-