Uses of Interface
org.springframework.data.redis.cache.BatchStrategy
Packages that use BatchStrategy
-
Uses of BatchStrategy in org.springframework.data.redis.cache
Methods in org.springframework.data.redis.cache that return BatchStrategyModifier and TypeMethodDescriptionstatic BatchStrategy
BatchStrategies.keys()
static BatchStrategy
BatchStrategies.scan
(int batchSize) ABatchStrategy
using aSCAN
cursors and potentially multipleDEL
commands to remove all matching keys.Methods in org.springframework.data.redis.cache with parameters of type BatchStrategyModifier and TypeMethodDescriptionstatic 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, BatchStrategy batchStrategy) Create newRedisCacheWriter
without locking behavior.