Fix method name in Caching reference documentation.

Closes #2837
This commit is contained in:
Gabin, Matthieu-MIGROSONLINE
2024-01-23 18:37:41 +01:00
committed by Mark Paluch
parent aa7045ab95
commit 3e8cd16279

View File

@@ -61,7 +61,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: