I have created a guava Cache indicating that entries should expire a fixed time after last access (using the expireAfterAccess()
method of CacheBuilder
).
I understand that calls to get()
and put()
on the Cache
will result in resetting the access time of the affected entry. What is unclear to me, however, is whether iterating over all of the values in the Cache
using cache.asMap().values()
will result in resetting the access time on all of the entries in the cache (I am really hoping that the answer is no).