java - google guava cache difference between invalidateAll() and cleanUp()
问题 Say I have a Cache that is defined like this: private static Cache<String, Long> alertsUIDCache = CacheBuilder.newBuilder(). expireAfterAccess(60).build(); From what I read (please correct me if I am wrong): If value is written to Cache at 0:00, it should be moved to "ready to be evicted" status after 60 seconds. The actual removing of the value from the Cache will happen at the next cache modification (what is exactly is cache modification ?). is that right? Also, I am not sure what the