Package org.oxerr.spring.cache.redis.scored
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
-
ClassDescriptionScore holder implementation using
InheritableThreadLocal
.Resolves the score of the caching value by theScoreResolver
, and stores to theScoreHolder
, and then theScoredRedisCacheWriter
could read the score from theScoreHolder
RedisCacheWriter
implementation using sorted set as back-end store.Score holder.