I am trying to create a cache using Google LoadingCache.
My program uses another rest service. I am wondering if it's possible to configure the cache such that once the .refreshAfterWrite ends it calls the loadAll function.
Essentially I'd like to do something like what appears on number 8 in this link once the refreshAfterWrite timer ends. http://www.baeldung.com/guava-cache
Thanks