Skip to content

Commit d0a0a6a

Browse files
snicollThomas Darimont
authored andcommitted
DATAREDIS-383 - Improve JavaDoc of RedisCacheManager.
Extended description on setCacheNames(..). Original pull request: spring-projects#132.
1 parent 738f41b commit d0a0a6a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/org/springframework/data/redis/cache/RedisCacheManager.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ public Cache getCache(String name) {
106106
/**
107107
* Specify the set of cache names for this CacheManager's 'static' mode. <br>
108108
* The number of caches and their names will be fixed after a call to this method, with no creation of further cache
109-
* regions at runtime.
109+
* regions at runtime. <br>
110+
* Calling this with a {@code null} or empty collection argument resets the mode to 'dynamic', allowing for further
111+
* creation of caches again.
110112
*/
111113
public void setCacheNames(Collection<String> cacheNames) {
112114

0 commit comments

Comments
 (0)