Commit 9f069e5
Apply non-blocking eviction when using Lettuce for
clear, evict and put methods now use asynchronous and non-blocking removal of keys when using the Lettuce Redis driver. RedisCache also supports evictIfPresent to remove cache keys immediately which is a blocking method.
Introduce configuration API for RedisCacheWriter.
Also, allow configuration of immediate writes to enforce stronger consistency and visibility of cache writes.
Closes: #3236
Original Pull Request: #3243RedisCache.1 parent 8547f61 commit 9f069e5
File tree
7 files changed
+662
-108
lines changed- src
- main/java/org/springframework/data/redis/cache
- test/java/org/springframework/data/redis/cache
7 files changed
+662
-108
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments