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