public class SpacexRedisCacheManager
extends org.springframework.data.redis.cache.RedisCacheManager
| 构造器和说明 |
|---|
SpacexRedisCacheManager(org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory,
String namespace,
long defaultExpiration) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addRedisCache(String name,
long expireSeconds) |
protected org.springframework.data.redis.cache.RedisCache |
getMissingCache(String name) |
protected static org.springframework.data.redis.cache.RedisCacheConfiguration |
newConfig(String namespace,
long duration) |
builder, builder, create, createRedisCache, getCacheConfigurations, loadCachesdecorateCache, isTransactionAware, setTransactionAwarepublic SpacexRedisCacheManager(org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory,
String namespace,
long defaultExpiration)
protected static org.springframework.data.redis.cache.RedisCacheConfiguration newConfig(String namespace, long duration)
protected org.springframework.data.redis.cache.RedisCache getMissingCache(String name)
getMissingCache 在类中 org.springframework.data.redis.cache.RedisCacheManagerpublic void addRedisCache(String name, long expireSeconds)
Copyright © 2019. All rights reserved.