Class RedisCacheManager

All Implemented Interfaces:
InitializingBean, CacheManager

public class RedisCacheManager extends AbstractTransactionSupportingCacheManager
CacheManager backed by a Redis cache.

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

Caches requiring a different RedisCacheConfiguration than the default configuration can be specified via RedisCacheManager.RedisCacheManagerBuilder.withInitialCacheConfigurations(Map).

Since:
2.0
Author:
Christoph Strobl, Mark Paluch
See Also: