类 HerodotusRedisCacheManager
java.lang.Object
org.springframework.cache.support.AbstractCacheManager
org.springframework.cache.transaction.AbstractTransactionSupportingCacheManager
org.springframework.data.redis.cache.RedisCacheManager
cn.herodotus.engine.cache.redis.enhance.HerodotusRedisCacheManager
- 所有已实现的接口:
org.springframework.beans.factory.InitializingBean,org.springframework.cache.CacheManager
public class HerodotusRedisCacheManager
extends org.springframework.data.redis.cache.RedisCacheManager
Description: 扩展的RedisCacheManager
用于支持 Redis 缓存可以针对实体进行单独的过期时间设定
- 作者:
- : gengwei.zheng
- Date:
- : 2021/10/25 20:49
-
嵌套类概要
从类继承的嵌套类/接口 org.springframework.data.redis.cache.RedisCacheManager
org.springframework.data.redis.cache.RedisCacheManager.RedisCacheManagerBuilder -
构造器概要
构造器构造器说明HerodotusRedisCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter, org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration, boolean allowInFlightCacheCreation, CacheProperties cacheProperties, String... initialCacheNames) HerodotusRedisCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter, org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration, CacheProperties cacheProperties) HerodotusRedisCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter, org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration, CacheProperties cacheProperties, String... initialCacheNames) HerodotusRedisCacheManager(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) HerodotusRedisCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter, org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration, Map<String, org.springframework.data.redis.cache.RedisCacheConfiguration> initialCacheConfigurations, CacheProperties cacheProperties) -
方法概要
修饰符和类型方法说明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从类继承的方法 org.springframework.cache.support.AbstractCacheManager
addCache, afterPropertiesSet, getCache, getCacheNames, initializeCaches, lookupCache
-
构造器详细资料
-
HerodotusRedisCacheManager
public HerodotusRedisCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter, org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration, CacheProperties cacheProperties) -
HerodotusRedisCacheManager
public HerodotusRedisCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter, org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration, CacheProperties cacheProperties, String... initialCacheNames) -
HerodotusRedisCacheManager
public HerodotusRedisCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter, org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration, boolean allowInFlightCacheCreation, CacheProperties cacheProperties, String... initialCacheNames) -
HerodotusRedisCacheManager
public HerodotusRedisCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter, org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration, Map<String, org.springframework.data.redis.cache.RedisCacheConfiguration> initialCacheConfigurations, CacheProperties cacheProperties) -
HerodotusRedisCacheManager
public HerodotusRedisCacheManager(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)
-
-
方法详细资料
-
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
-