Package org.springframework.data.redis.cache
@NonNullApi
@NonNullFields
package org.springframework.data.redis.cache
Package providing a Redis implementation for Spring
cache
abstraction.
-
ClassDescriptionA
BatchStrategy
to be used withRedisCacheWriter
.CacheKeyPrefix
is 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 relevantRedisCache
operations such as hits & misses.Interface to be implemented by objects that exposeCacheStatistics
identified bycacheName
.RedisCacheWriter.TtlFunction
implementation returning the given, predeterminedDuration
used for per cache entry time-to-live (TTL) expiration.Cache
implementation using Redis as the underlying store for cache data.ImmutableRedisCacheConfiguration
used to customizeRedisCache
behavior, such as caching null values, computing cache key prefixes and handling binary serialization.CacheManager
implementation for Redis backed byRedisCache
.Builder for creating aRedisCacheManager
.RedisCacheWriter
provides low-level access to Redis commands (SET, SETNX, GET, EXPIRE,...
) used for caching.Function to compute the time to live from the cachekey
andvalue
.