Does the getIfPresent
function reset the time for expireAfterAccess
?
The CacheBuilder.expireAfterAccess()
docs say:
Access time is reset by all cache read and write operations
Since Cache.getIfPresent()
is a cache read, it resets the access time.