Caffeine cache key expiry

50 views Asked by At

I wanted to check if Caffeine cache keys are refreshed after expiry when they are specifically operated upon (get etc.) or if any operation on the cache itself, i.e. adding new keys, modifying or accessing different keys, etc. can trigger the refresh on the expired keys.

Also, is there a periodic refresh/cleanup of expired keys even if the whole cache is not accessed for a time?

1

There are 1 answers

0
RaRa On

The below comments from @Ben Manes on the original question have answered my question. Comment

Comment