CacheManager implementation for Redis. By default saves the keys directly, without appending a prefix (which
acts as a namespace). To avoid clashes, it is recommended to change this (by setting 'usePrefix' to 'true').
By default RedisCaches will be lazily initialized for each AbstractCacheManager.getCache(String) request unless a set of
predefined cache names is provided.

Method Detail

setCacheNames

Specify the set of cache names for this CacheManager's 'static' mode.
The number of caches and their names will be fixed after a call to this method, with no creation of further cache
regions at runtime.
Calling this with a null or empty collection argument resets the mode to 'dynamic', allowing for further
creation of caches again.