diff --git a/src/main/asciidoc/reference/redis-cache.adoc b/src/main/asciidoc/reference/redis-cache.adoc index 0ce34e1fc..4b5751aba 100644 --- a/src/main/asciidoc/reference/redis-cache.adoc +++ b/src/main/asciidoc/reference/redis-cache.adoc @@ -58,7 +58,7 @@ The following example shows how to set a static prefix: [source,java] ---- // static key prefix -RedisCacheConfiguration.defaultCacheConfig().prefixKeysWith("( ͡° ᴥ ͡°)"); +RedisCacheConfiguration.defaultCacheConfig().prefixCacheNameWith("( ͡° ᴥ ͡°)"); The following example shows how to set a computed prefix: