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

Method invalidate

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

Invalidates an entry for given key if exists. This operation will trigger EvictionListener with EvictionType#EXPLICIT. @return the previous value associated with key, otherwise null

(K key)

Source from the content-addressed store, hash-verified

46 * @return the previous value associated with key, otherwise {@code null}
47 */
48 @Nullable
49 V invalidate(K key);
50
51 /**

Callers 3

sizeMethod · 0.65
eviction_explicitMethod · 0.65
removeEldestEntryMethod · 0.65

Implementers 1

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

Calls

no outgoing calls

Tested by 2

sizeMethod · 0.52
eviction_explicitMethod · 0.52