类 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 class
Caffeine specific cache properties.static class
Couchbase specific cache properties.static class
Infinispan specific cache properties.static class
JCache (JSR-107) specific cache properties.static class
Redis-specific cache properties. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getRedis()
getType()
resolveConfigLocation
(Resource config) Resolve the config location if set.void
setCacheNames
(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
null
if it is not set - 抛出:
IllegalArgumentException
- if the config attribute is set to an unknown location
-