prefetch all entries in java caffeine cache
问题 I am trying to build a cache using https://github.com/ben-manes/caffeine, where I need to fetch all entries during boot up time and I do not know all the keys before hand. My CachLoader has something like this and trying to cache all at startup. But looks like I will need to know all the keys before hand, if I want to prefetch all entries in to cache? Am I missing anything? So, say I call cache.getAll(10) and only 10-->100 will be cached even though the loadAll method returns 3 entries (10--