Google offers a "loading cache", which is described as following:
A semi-persistent mapping from keys to values. Values are automatically loaded by the cache, and are stored in the cache until either evicted or manually invalidated.
Unfortunately, the description above isn't terribly clear. what does it mean to be "automatically loaded"?
I'm hoping it means: "If a requested key does not exist in the cache, it is then added to it automatically".
this is somewhat supported by this statement (from the get() function):
"Returns the value associated with in this cache, first loading that value if necessary."
but again, the "loading" aspect of the cache is explained with the word "loading". way to go, Google :[
LoadingCache
links to Guava wiki page "CachesExplained" - please read it and follow up with any further concrete questions if you still don't understand it's purpose.