Fix typo in reference cache example code.
Fixed minor typo on example code `build()` to `builder()` Closes #3064
This commit is contained in:
@@ -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())
|
||||
...
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user