public class RedisGenericCacheManager
extends org.springframework.data.redis.cache.RedisCacheManager
| 构造器和说明 |
|---|
RedisGenericCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter,
org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration) |
RedisGenericCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter,
org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration,
boolean allowInFlightCacheCreation,
String... initialCacheNames) |
RedisGenericCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter,
org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration,
Map<String,org.springframework.data.redis.cache.RedisCacheConfiguration> initialCacheConfigurations) |
RedisGenericCacheManager(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) |
RedisGenericCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter,
org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration,
String... initialCacheNames) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected org.springframework.data.redis.cache.RedisCache |
createRedisCache(String name,
org.springframework.data.redis.cache.RedisCacheConfiguration cacheConfig) |
void |
initGenericCacheMap(Map<String,Type> genericCacheMap)
放入泛型cache
|
builder, builder, create, getCacheConfigurations, getMissingCache, loadCachesdecorateCache, isTransactionAware, setTransactionAwarepublic RedisGenericCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter,
org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration)
public RedisGenericCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter,
org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration,
String... initialCacheNames)
public RedisGenericCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter,
org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration,
boolean allowInFlightCacheCreation,
String... initialCacheNames)
public RedisGenericCacheManager(org.springframework.data.redis.cache.RedisCacheWriter cacheWriter,
org.springframework.data.redis.cache.RedisCacheConfiguration defaultCacheConfiguration,
Map<String,org.springframework.data.redis.cache.RedisCacheConfiguration> initialCacheConfigurations)
public RedisGenericCacheManager(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)
public void initGenericCacheMap(Map<String,Type> genericCacheMap)
genericCacheMap - genericCacheMapprotected org.springframework.data.redis.cache.RedisCache createRedisCache(String name, @Nullable org.springframework.data.redis.cache.RedisCacheConfiguration cacheConfig)
createRedisCache 在类中 org.springframework.data.redis.cache.RedisCacheManagerCopyright © 2021. All rights reserved.