()
| 2397 | final ListenableFuture<V> loadingFuture = loadingValueReference.loadFuture(key, loader); |
| 2398 | loadingFuture.addListener(new Runnable() { |
| 2399 | @Override |
| 2400 | public void run() { |
| 2401 | try { |
| 2402 | getAndRecordStats(key, hash, loadingValueReference, loadingFuture); |
| 2403 | } catch (Throwable t) { |
| 2404 | logger.log(Level.WARNING, "Exception thrown during refresh", t); |
| 2405 | loadingValueReference.setException(t); |
| 2406 | } |
| 2407 | } |
| 2408 | }, directExecutor()); |
| 2409 | return loadingFuture; |
| 2410 | } |
nothing calls this directly
no test coverage detected