public class RedisCacheConfig extends Object implements CacheConfig<CacheBuilder<org.springframework.data.redis.cache.RedisCacheConfiguration>>
| 构造器和说明 |
|---|
RedisCacheConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addCache(CacheBuilder<org.springframework.data.redis.cache.RedisCacheConfiguration> cache) |
void |
addCaches(Collection<CacheBuilder<org.springframework.data.redis.cache.RedisCacheConfiguration>> caches) |
void |
addDefaultCache(org.springframework.data.redis.cache.RedisCacheConfiguration cacheBuilder) |
void |
exportConsumer(Consumer<CacheBuilder<org.springframework.data.redis.cache.RedisCacheConfiguration>> cacheManager) |
Collection<CacheBuilder<org.springframework.data.redis.cache.RedisCacheConfiguration>> |
getCacheBuilder() |
org.springframework.data.redis.cache.RedisCacheConfiguration |
getDefaultCache() |
void |
importCacheBuilder(CacheConfig<CacheBuilder<org.springframework.data.redis.cache.RedisCacheConfiguration>> cacheConfig) |
public void addDefaultCache(org.springframework.data.redis.cache.RedisCacheConfiguration cacheBuilder)
public org.springframework.data.redis.cache.RedisCacheConfiguration getDefaultCache()
public void importCacheBuilder(CacheConfig<CacheBuilder<org.springframework.data.redis.cache.RedisCacheConfiguration>> cacheConfig)
importCacheBuilder 在接口中 CacheConfig<CacheBuilder<org.springframework.data.redis.cache.RedisCacheConfiguration>>public Collection<CacheBuilder<org.springframework.data.redis.cache.RedisCacheConfiguration>> getCacheBuilder()
getCacheBuilder 在接口中 CacheConfig<CacheBuilder<org.springframework.data.redis.cache.RedisCacheConfiguration>>public void addCache(CacheBuilder<org.springframework.data.redis.cache.RedisCacheConfiguration> cache)
addCache 在接口中 CacheConfig<CacheBuilder<org.springframework.data.redis.cache.RedisCacheConfiguration>>public void addCaches(Collection<CacheBuilder<org.springframework.data.redis.cache.RedisCacheConfiguration>> caches)
addCaches 在接口中 CacheConfig<CacheBuilder<org.springframework.data.redis.cache.RedisCacheConfiguration>>public void exportConsumer(Consumer<CacheBuilder<org.springframework.data.redis.cache.RedisCacheConfiguration>> cacheManager)
exportConsumer 在接口中 CacheConfig<CacheBuilder<org.springframework.data.redis.cache.RedisCacheConfiguration>>Copyright © 2020. All rights reserved.