类 BiscuitRedisCacheManager
- java.lang.Object
-
- org.springframework.cache.support.AbstractCacheManager
-
- org.springframework.cache.transaction.AbstractTransactionSupportingCacheManager
-
- org.springframework.data.redis.cache.RedisCacheManager
-
- cn.bbwres.biscuit.caches.redis.manager.BiscuitRedisCacheManager
-
- 所有已实现的接口:
org.springframework.beans.factory.InitializingBean,org.springframework.cache.CacheManager
public class BiscuitRedisCacheManager extends org.springframework.data.redis.cache.RedisCacheManager缓存管理器- 作者:
- zhanglinfeng
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classBiscuitRedisCacheManager.BiscuitRedisCacheManagerBuilder
-
构造器概要
构造器 构造器 说明 BiscuitRedisCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter, org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration, Map<String,org.springframework.data.redis.cache.RedisCacheConfiguration> initialCacheConfigurations, boolean allowInFlightCacheCreation, String delimitSymbol)Creates newRedisCacheManagerusing givenRedisCacheWriterand defaultRedisCacheConfiguration.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected org.springframework.data.redis.cache.RedisCachecreateRedisCache(String name, org.springframework.data.redis.cache.RedisCacheConfiguration cacheConfig)-
从类继承的方法 org.springframework.data.redis.cache.RedisCacheManager
builder, builder, builder, create, getCacheConfigurations, getMissingCache, loadCaches
-
从类继承的方法 org.springframework.cache.transaction.AbstractTransactionSupportingCacheManager
decorateCache, isTransactionAware, setTransactionAware
-
-
-
-
构造器详细资料
-
BiscuitRedisCacheManager
public BiscuitRedisCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter, org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration, Map<String,org.springframework.data.redis.cache.RedisCacheConfiguration> initialCacheConfigurations, boolean allowInFlightCacheCreation, String delimitSymbol)Creates newRedisCacheManagerusing givenRedisCacheWriterand defaultRedisCacheConfiguration.- 参数:
cacheWriter- must not be null.defaultCacheConfiguration- must not be null. Maybe just useRedisCacheConfiguration.defaultCacheConfig().initialCacheConfigurations- Map of known cache names along with the configuration to use for those caches. Must not be null.allowInFlightCacheCreation- if set to false this cache manager is limited to the initial cache configurations and will not create new caches at runtime.- 从以下版本开始:
- 2.0.4
-
-
方法详细资料
-
createRedisCache
protected org.springframework.data.redis.cache.RedisCache createRedisCache(String name, org.springframework.data.redis.cache.RedisCacheConfiguration cacheConfig)
- 覆盖:
createRedisCache在类中org.springframework.data.redis.cache.RedisCacheManager- 参数:
name- must not be null.cacheConfig- can be null.- 返回:
- RedisCache
-
-