Uses of Interface
org.springframework.data.redis.cache.RedisCacheWriter
Packages that use RedisCacheWriter
-
Uses of RedisCacheWriter in org.springframework.data.redis.cache
Methods in org.springframework.data.redis.cache that return RedisCacheWriterModifier and TypeMethodDescriptionprotected RedisCacheWriter
RedisCache.getCacheWriter()
Gets the configuredRedisCacheWriter
used to modify Redis for cache operations.RedisCache.getNativeCache()
static RedisCacheWriter
RedisCacheWriter.lockingRedisCacheWriter
(RedisConnectionFactory connectionFactory) Create newRedisCacheWriter
with locking behavior.static RedisCacheWriter
RedisCacheWriter.lockingRedisCacheWriter
(RedisConnectionFactory connectionFactory, Duration sleepTime, RedisCacheWriter.TtlFunction lockTtlFunction, BatchStrategy batchStrategy) Create newRedisCacheWriter
with locking behavior.static RedisCacheWriter
RedisCacheWriter.lockingRedisCacheWriter
(RedisConnectionFactory connectionFactory, BatchStrategy batchStrategy) Create newRedisCacheWriter
with locking behavior.static RedisCacheWriter
RedisCacheWriter.nonLockingRedisCacheWriter
(RedisConnectionFactory connectionFactory) Create newRedisCacheWriter
without locking behavior.static RedisCacheWriter
RedisCacheWriter.nonLockingRedisCacheWriter
(RedisConnectionFactory connectionFactory, BatchStrategy batchStrategy) Create newRedisCacheWriter
without locking behavior.RedisCacheWriter.withStatisticsCollector
(CacheStatisticsCollector cacheStatisticsCollector) Obtain aRedisCacheWriter
using the givenCacheStatisticsCollector
to collect metrics.Methods in org.springframework.data.redis.cache with parameters of type RedisCacheWriterModifier and TypeMethodDescriptionRedisCacheManager.builder
(RedisCacheWriter cacheWriter) Factory method returning a Builder used to construct and configure aRedisCacheManager
initialized with the givenRedisCacheWriter
.RedisCacheManager.RedisCacheManagerBuilder.cacheWriter
(RedisCacheWriter cacheWriter) Configure aRedisCacheWriter
.RedisCacheManager.RedisCacheManagerBuilder.fromCacheWriter
(RedisCacheWriter cacheWriter) Factory method returning a new Builder used to create and configure aRedisCacheManager
using the givenRedisCacheWriter
.Constructors in org.springframework.data.redis.cache with parameters of type RedisCacheWriterModifierConstructorDescriptionprotected
RedisCache
(String name, RedisCacheWriter cacheWriter, RedisCacheConfiguration cacheConfiguration) Create a newRedisCache
.RedisCacheManager
(RedisCacheWriter cacheWriter, RedisCacheConfiguration defaultCacheConfiguration) Creates a newRedisCacheManager
initialized with the givenRedisCacheWriter
and a defaultRedisCacheConfiguration
.RedisCacheManager
(RedisCacheWriter cacheWriter, RedisCacheConfiguration defaultCacheConfiguration, boolean allowRuntimeCacheCreation, String... initialCacheNames) Creates a newRedisCacheManager
initialized with the givenRedisCacheWriter
and defaultRedisCacheConfiguration
, and whether to allow cache creation at runtime.RedisCacheManager
(RedisCacheWriter cacheWriter, RedisCacheConfiguration defaultCacheConfiguration, boolean allowRuntimeCacheCreation, Map<String, RedisCacheConfiguration> initialCacheConfigurations) Creates a newRedisCacheManager
initialized with the givenRedisCacheWriter
and a defaultRedisCacheConfiguration
, and whether to allowRedisCache
creation at runtime.RedisCacheManager
(RedisCacheWriter cacheWriter, RedisCacheConfiguration defaultCacheConfiguration, String... initialCacheNames) Creates a newRedisCacheManager
initialized with the givenRedisCacheWriter
and a defaultRedisCacheConfiguration
, along with an optional, initial set ofcache names
used to createRedis caches
on startup.RedisCacheManager
(RedisCacheWriter cacheWriter, RedisCacheConfiguration defaultCacheConfiguration, Map<String, RedisCacheConfiguration> initialCacheConfigurations) RedisCacheManager
(RedisCacheWriter cacheWriter, RedisCacheConfiguration defaultCacheConfiguration, Map<String, RedisCacheConfiguration> initialCacheConfigurations, boolean allowRuntimeCacheCreation) Deprecated.
RedisCacheManager(RedisCacheWriter, RedisCacheConfiguration, boolean, Map)
instead.