mkodekar / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

Documentation of CacheBuilder#ticker #1836

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The documentation of CacheBuilder#ticker says

"The primary intent of this method is to facilitate testing of caches which 
have been configured with expireAfterWrite or expireAfterAccess."

Mentioning the two explicitly and omitting refreshAfterWrite seems to be 
confusing as a comment to

http://stackoverflow.com/a/25418475/581205

shows. Some general statement like "the only timing source" would be cleaner 
and more future-proof.

Original issue reported on code.google.com by Maaarti...@gmail.com on 21 Aug 2014 at 9:50

GoogleCodeExporter commented 9 years ago

Original comment by kak@google.com on 22 Aug 2014 at 5:40

GoogleCodeExporter commented 9 years ago

Original comment by kak@google.com on 22 Aug 2014 at 4:54

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<issue id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:08

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:07