Package org.oxerr.spring.cache.redis.scored
Spring cache implementation using Redis sorted set,
to prevent returning stale data in cache querying.
- See Also:
Cache
,CacheManager
-
Interface Summary Interface Description ScoreHolder Score holder. -
Class Summary Class Description InheritableThreadLocalScoreHolder Score holder implementation usingInheritableThreadLocal
.ScoredRedisCacheInterceptor Resolves the score of the caching value by theScoreResolver
, and stores to theScoreHolder
, and then theScoredRedisCacheWriter
could read the score from theScoreHolder
ScoredRedisCacheWriter RedisCacheWriter
implementation using sorted set as back-end store.