DaveAKing / guava-libraries

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

guava cache wiki talks about CacheLoader.refresh not .reload. #1703

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The Guava Cache Wiki talks about "CacheLoader.refresh" but I think it means 
CacheLoader.reload.

https://code.google.com/p/guava-libraries/wiki/CachesExplained#Refresh
> Automatically timed refreshing can be added to a cache using
> CacheBuilder.refreshAfterWrite(long, TimeUnit). In contrast to
> expireAfterWrite, refreshAfterWrite will make a key eligible
> for refresh after the specified duration, but a refresh will
> only be actually initiated when the entry is queried. (If
> *CacheLoader.refresh* is implemented to be asynchronous, then
> the query will not be slowed down by the refresh.)

Original issue reported on code.google.com by bernd.eckenfels on 24 Mar 2014 at 12:06

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. Fixed it.

Original comment by cgdecker@google.com on 24 Mar 2014 at 8:46

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

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

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

GoogleCodeExporter commented 9 years ago

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