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 BatchStrategyBatchStrategies.keys()static BatchStrategyBatchStrategies.scan(int batchSize) ABatchStrategyusing aSCANcursors and potentially multipleDELcommands to remove all matching keys.Methods in org.springframework.data.redis.cache with parameters of type BatchStrategyModifier and TypeMethodDescriptionRedisCacheWriter.RedisCacheWriterConfigurer.batchStrategy(BatchStrategy batchStrategy) Configure theBatchStrategywhen clearing the cache (i.e. bulk removal of cache keys).static RedisCacheWriterRedisCacheWriter.lockingRedisCacheWriter(RedisConnectionFactory connectionFactory, Duration sleepTime, RedisCacheWriter.TtlFunction lockTtlFunction, BatchStrategy batchStrategy) Create newRedisCacheWriterwith locking behavior.static RedisCacheWriterRedisCacheWriter.lockingRedisCacheWriter(RedisConnectionFactory connectionFactory, BatchStrategy batchStrategy) Create newRedisCacheWriterwith locking behavior.static RedisCacheWriterRedisCacheWriter.nonLockingRedisCacheWriter(RedisConnectionFactory connectionFactory, BatchStrategy batchStrategy) Create newRedisCacheWriterwithout locking behavior.