Eviction policy, volatile-lru for RMapCache #6003
Unanswered
debraj-manna
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I searched about Redis Eviction policy and RMapCache in the discussion board. I could not find anything so posting a new question.
Can someone let me know if I am setting expiry at the
RMapCache
, then will the Redis eviction policy (e.g. -volatile-lru
) be applicable on the map?For example, if I am doing
RMapCache documentation states like below
So does this mean
EvictionScheduler
only runs whenTTL
is set at the map entry level and if expire is set for the entire map then underlying redis expiration is used and the map will be eligible for cache eviction policy?If not is there a way for me to use
volatile-lru
eviction policy with redis map when using Redisson as the only client?Beta Was this translation helpful? Give feedback.
All reactions