File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/antora/modules/ROOT/pages/redis Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ It is possible to opt in to the locking behavior as follows:
4848[source,java]
4949----
5050RedisCacheManager cacheManager = RedisCacheManager
51- .build (RedisCacheWriter.lockingRedisCacheWriter(connectionFactory))
51+ .builder (RedisCacheWriter.lockingRedisCacheWriter(connectionFactory))
5252 .cacheDefaults(RedisCacheConfiguration.defaultCacheConfig())
5353 ...
5454----
@@ -77,7 +77,7 @@ The `SCAN` strategy requires a batch size to avoid excessive Redis command round
7777[source,java]
7878----
7979RedisCacheManager cacheManager = RedisCacheManager
80- .build (RedisCacheWriter.nonLockingRedisCacheWriter(connectionFactory, BatchStrategies.scan(1000)))
80+ .builder (RedisCacheWriter.nonLockingRedisCacheWriter(connectionFactory, BatchStrategies.scan(1000)))
8181 .cacheDefaults(RedisCacheConfiguration.defaultCacheConfig())
8282 ...
8383----
You can’t perform that action at this time.
0 commit comments