Returns the value associated with key in this cache, obtaining that value from loader if necessary. The method improves upon the conventional "if cached, return; otherwise create, cache and return" pattern. For further improvements, use LoadingCache and its {@link LoadingCach
(K key, Callable<? extends V> loader)
| 97 | * @since 11.0 |
| 98 | */ |
| 99 | V get(K key, Callable<? extends V> loader) throws ExecutionException; |
| 100 | |
| 101 | /** |
| 102 | * Returns a map of the values associated with {@code keys} in this cache. The returned map will |
no outgoing calls