Code example for Cache

Methods: get

0
     * @param callable A callback to construct the graph that wasn't cached 
     * @return A cached graph, or a new graph if there was no cached instance 
     * @throws ExecutionException If a graph e.g. cannot be generated 
     */ 
    public Graph get(String key, Callable<Graph> callable) throws ExecutionException {
        return cache.get(key, callable);
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java