public class HerodotusRedisCacheManager
extends org.springframework.data.redis.cache.RedisCacheManager
Description: 扩展的RedisCacheManager
用于支持 Redis 缓存可以针对实体进行单独的过期时间设定
| 构造器和说明 |
|---|
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.RedisCache |
createRedisCache(String name,
org.springframework.data.redis.cache.RedisCacheConfiguration cacheConfig) |
builder, builder, builder, create, getCacheConfigurations, getMissingCache, loadCachesdecorateCache, isTransactionAware, setTransactionAwarepublic HerodotusRedisCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter,
org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration,
CacheProperties cacheProperties)
public HerodotusRedisCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter,
org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration,
CacheProperties cacheProperties,
String... initialCacheNames)
public HerodotusRedisCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter,
org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration,
boolean allowInFlightCacheCreation,
CacheProperties cacheProperties,
String... initialCacheNames)
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)
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)
protected org.springframework.data.redis.cache.RedisCache createRedisCache(String name, org.springframework.data.redis.cache.RedisCacheConfiguration cacheConfig)
createRedisCache 在类中 org.springframework.data.redis.cache.RedisCacheManagerCopyright © 2022. All rights reserved.