(
K key,
int hash,
LoadingValueReference<K, V> loadingValueReference,
CacheLoader<? super K, V> loader)
| 2390 | // at most one of loadSync/loadAsync may be called for any given LoadingValueReference |
| 2391 | |
| 2392 | V loadSync( |
| 2393 | K key, |
| 2394 | int hash, |
| 2395 | LoadingValueReference<K, V> loadingValueReference, |
| 2396 | CacheLoader<? super K, V> loader) throws ExecutionException { |
| 2397 | ListenableFuture<V> loadingFuture = loadingValueReference.loadFuture(key, loader); |
| 2398 | return getAndRecordStats(key, hash, loadingValueReference, loadingFuture); |
| 2399 | } |
| 2400 | |
| 2401 | ListenableFuture<V> loadAsync( |
| 2402 | final K key, |
no test coverage detected