Class RedisCacheConfiguration

java.lang.Object
org.springframework.data.redis.cache.RedisCacheConfiguration

public class RedisCacheConfiguration extends Object
Immutable RedisCacheConfiguration used to customize RedisCache behavior, such as caching null values, computing cache key prefixes and handling binary serialization.

Start with defaultCacheConfig() and customize RedisCache behavior using the builder methods, such as entryTtl(Duration), serializeKeysWith(SerializationPair) and serializeValuesWith(SerializationPair).

Since:
2.0
Author:
Christoph Strobl, Mark Paluch, John Blum