Uses of Interface
org.springframework.data.redis.cache.BatchStrategy
-
Uses of BatchStrategy in org.springframework.data.redis.cache
Modifier and TypeMethodDescriptionstatic BatchStrategy
BatchStrategies.keys()
static BatchStrategy
BatchStrategies.scan
(int batchSize) ABatchStrategy
using aSCAN
cursors and potentially multipleDEL
commands to remove all matching keys.Modifier 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.