Uses of Class
org.springframework.data.redis.cache.RedisCacheManager.RedisCacheManagerBuilder
-
Uses of RedisCacheManager.RedisCacheManagerBuilder in org.springframework.data.redis.cache
Modifier and TypeMethodDescriptionRedisCacheManager.RedisCacheManagerBuilder.allowCreateOnMissingCache
(boolean allowRuntimeCacheCreation) Configure whether to allow cache creation at runtime.RedisCacheManager.builder()
Factory method returning a Builder used to construct and configure aRedisCacheManager
.RedisCacheManager.builder
(RedisCacheWriter cacheWriter) Factory method returning a Builder used to construct and configure aRedisCacheManager
initialized with the givenRedisCacheWriter
.RedisCacheManager.builder
(RedisConnectionFactory connectionFactory) Factory method returning a Builder used to construct and configure aRedisCacheManager
initialized with the givenRedisConnectionFactory
.RedisCacheManager.RedisCacheManagerBuilder.cacheDefaults
(RedisCacheConfiguration defaultCacheConfiguration) Define a defaultRedisCacheConfiguration
applied to dynamically createdRedisCache
s.RedisCacheManager.RedisCacheManagerBuilder.cacheWriter
(RedisCacheWriter cacheWriter) Configure aRedisCacheWriter
.RedisCacheManager.RedisCacheManagerBuilder.disableCreateOnMissingCache()
DisableRedisCache
creation at runtime for non-configured, undeclared caches.RedisCacheManager.RedisCacheManagerBuilder.enableCreateOnMissingCache()
EnablesRedisCache
creation at runtime for unconfigured, undeclared caches.RedisCacheManager.RedisCacheManagerBuilder.enableStatistics()
Enables cache statistics.RedisCacheManager.RedisCacheManagerBuilder.fromCacheWriter
(RedisCacheWriter cacheWriter) Factory method returning a new Builder used to create and configure aRedisCacheManager
using the givenRedisCacheWriter
.RedisCacheManager.RedisCacheManagerBuilder.fromConnectionFactory
(RedisConnectionFactory connectionFactory) Factory method returning a new Builder used to create and configure aRedisCacheManager
using the givenRedisConnectionFactory
.RedisCacheManager.RedisCacheManagerBuilder.initialCacheNames
(Set<String> cacheNames) Append aSet
of cache names to be pre initialized with currentRedisCacheConfiguration
.RedisCacheManager.RedisCacheManagerBuilder.transactionAware()
EnableRedisCache
s to synchronize cache put/evict operations with ongoing Spring-managed transactions.RedisCacheManager.RedisCacheManagerBuilder.withCacheConfiguration
(String cacheName, RedisCacheConfiguration cacheConfiguration) Registers the givencache name
andRedisCacheConfiguration
used to create and configure aRedisCache
on startup.RedisCacheManager.RedisCacheManagerBuilder.withInitialCacheConfigurations
(Map<String, RedisCacheConfiguration> cacheConfigurations) Append aMap
of cache name/RedisCacheConfiguration
pairs to be pre initialized.