MCPcopy Create free account
hub / github.com/grpc/grpc-java / cache

Method cache

rls/src/main/java/io/grpc/rls/LruCache.java:31–31  ·  view source on GitHub ↗

Populates a cache entry. If the cache entry for given key already exists, the value will be replaced to the new value. @return the previous value associated with key, otherwise null

(K key, V value)

Source from the content-addressed store, hash-verified

29 * @return the previous value associated with key, otherwise {@code null}
30 */
31 @Nullable
32 V cache(K key, V value);
33
34 /**

Callers 14

eviction_sizeMethod · 0.65
sizeMethod · 0.65
eviction_expireMethod · 0.65
eviction_explicitMethod · 0.65
eviction_replacedMethod · 0.65
updateEntrySizeMethod · 0.65
invalidateAllMethod · 0.65
resizeMethod · 0.65

Implementers 1

LinkedHashLruCacherls/src/main/java/io/grpc/rls/LinkedHa

Calls

no outgoing calls

Tested by 13

eviction_sizeMethod · 0.52
sizeMethod · 0.52
eviction_expireMethod · 0.52
eviction_explicitMethod · 0.52
eviction_replacedMethod · 0.52
updateEntrySizeMethod · 0.52
invalidateAllMethod · 0.52
resizeMethod · 0.52