Fix method name in Caching reference documentation.

Closes #2837
This commit is contained in:
Mark Paluch
2024-01-25 09:14:10 +01:00
parent 7c8b4a9675
commit de1bfd3202

View File

@@ -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: