From cd1f6ce753315edbd060b50be88aa07ecc577ab8 Mon Sep 17 00:00:00 2001 From: KIMSIWOO Date: Tue, 3 Dec 2024 08:15:35 +0900 Subject: [PATCH] Fix typo in reference cache example code. Fixed minor typo on example code `build()` to `builder()` Closes #3064 --- src/main/antora/modules/ROOT/pages/redis/redis-cache.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/antora/modules/ROOT/pages/redis/redis-cache.adoc b/src/main/antora/modules/ROOT/pages/redis/redis-cache.adoc index 014aadb2e..4e9f48df5 100644 --- a/src/main/antora/modules/ROOT/pages/redis/redis-cache.adoc +++ b/src/main/antora/modules/ROOT/pages/redis/redis-cache.adoc @@ -48,7 +48,7 @@ It is possible to opt in to the locking behavior as follows: [source,java] ---- RedisCacheManager cacheManager = RedisCacheManager - .build(RedisCacheWriter.lockingRedisCacheWriter(connectionFactory)) + .builder(RedisCacheWriter.lockingRedisCacheWriter(connectionFactory)) .cacheDefaults(RedisCacheConfiguration.defaultCacheConfig()) ... ---- @@ -77,7 +77,7 @@ The `SCAN` strategy requires a batch size to avoid excessive Redis command round [source,java] ---- RedisCacheManager cacheManager = RedisCacheManager - .build(RedisCacheWriter.nonLockingRedisCacheWriter(connectionFactory, BatchStrategies.scan(1000))) + .builder(RedisCacheWriter.nonLockingRedisCacheWriter(connectionFactory, BatchStrategies.scan(1000))) .cacheDefaults(RedisCacheConfiguration.defaultCacheConfig()) ... ----