I have a requirement where we are loading static data from a database for use in a Java application. Any caching mechanism should have the following functionality:
In the short-term I would just use Cache.asMap().putAll(Map).
Cache.asMap().putAll(Map)
Once Guava 11.0 is released you can use Cache.getAll(Iterable), which will issue a single bulk request for all absent elements.