MCPcopy Create free account
hub / github.com/antlr/codebuff / reload

Method reload

output/java_guava/1.4.17/CacheLoader.java:94–99  ·  view source on GitHub ↗

Computes or retrieves a replacement value corresponding to an already-cached key. This method is called when an existing cache entry is refreshed by CacheBuilder#refreshAfterWrite, or through a call to LoadingCache#refresh. This implementation synchronously delegates to {

(K key, V oldValue)

Source from the content-addressed store, hash-verified

92 */
93
94 @GwtIncompatible // Futures
95 public ListenableFuture<V> reload(K key, V oldValue) throws Exception {
96 checkNotNull(key);
97 checkNotNull(oldValue);
98 return Futures.immediateFuture(load(key));
99 }
100
101 /**
102 * Computes or retrieves the values corresponding to {@code keys}. This method is called by

Callers 2

callMethod · 0.45
loadFutureMethod · 0.45

Calls 5

immediateFutureMethod · 0.95
loadMethod · 0.95
createMethod · 0.95
checkNotNullMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected