Package org.springframework.data.redis.cache
@NonNullApi
@NonNullFields
package org.springframework.data.redis.cache
Package providing a Redis implementation for Spring
cache
abstraction.
-
ClassDescriptionA
BatchStrategyto be used withRedisCacheWriter.CacheKeyPrefixis a callback hook for creating custom prefixes prepended to the actual key stored in Redis.Cache statistics for aRedisCache.The statistics collector supports capturing of relevantRedisCacheoperations such as hits & misses.Interface to be implemented by objects that exposeCacheStatisticsidentified bycacheName.RedisCacheWriter.TtlFunctionimplementation returning the given, predeterminedDurationused for per cache entry time-to-live (TTL) expiration.Cacheimplementation using for Redis as the underlying store for cache data.ImmutableRedisCacheConfigurationused to customizeRedisCachebehavior, such as caching null values, computing cache key prefixes and handling binary serialization.CacheManagerbacked by aRedisCache.Builder for creating aRedisCacheManager.RedisCacheWriterprovides low-level access to Redis commands (SET, SETNX, GET, EXPIRE,...) used for caching.Function to compute the time to live from the cachekeyandvalue.