Class RedisCacheManager

All Implemented Interfaces:
InitializingBean, CacheManager

public class RedisCacheManager extends AbstractTransactionSupportingCacheManager
CacheManager backed by a RedisCache.

This CacheManager creates caches by default upon first write. Empty caches are not visible in Redis due to how Redis represents empty data structures.

Caches requiring a different RedisCacheConfiguration than the default cache configuration can be specified via RedisCacheManager.RedisCacheManagerBuilder.withInitialCacheConfigurations(Map) or individually using RedisCacheManager.RedisCacheManagerBuilder.withCacheConfiguration(String, RedisCacheConfiguration).

Since:
2.0
Author:
Christoph Strobl, Mark Paluch, Yanming Zhou, John Blum
See Also: