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

Method recordHits

corpus/java/training/guava/cache/AbstractCache.java:148–148  ·  view source on GitHub ↗

Records cache hits. This should be called when a cache request returns a cached value. @param count the number of hits to record @since 11.0

(int count)

Source from the content-addressed store, hash-verified

146 * @since 11.0
147 */
148 void recordHits(int count);
149
150 /**
151 * Records cache misses. This should be called when a cache request returns a value that was not

Callers 15

getMethod · 0.65
lockedGetOrLoadMethod · 0.65
getIfPresentMethod · 0.65
getAllPresentMethod · 0.65
getAllMethod · 0.65
getMethod · 0.65
lockedGetOrLoadMethod · 0.65
getIfPresentMethod · 0.65
getAllPresentMethod · 0.65
getAllMethod · 0.65
getMethod · 0.65
lockedGetOrLoadMethod · 0.65

Implementers 12

SimpleStatsCountercorpus/java/training/guava/cache/Abstr
CacheBuilderoutput/java_guava/1.4.17/CacheBuilder.
SimpleStatsCounteroutput/java_guava/1.4.17/AbstractCache
CacheBuilderoutput/java_guava/1.4.13/CacheBuilder.
SimpleStatsCounteroutput/java_guava/1.4.13/AbstractCache
CacheBuilderoutput/java_guava/1.4.19/CacheBuilder.
SimpleStatsCounteroutput/java_guava/1.4.19/AbstractCache
CacheBuilderoutput/java_guava/1.4.16/CacheBuilder.
SimpleStatsCounteroutput/java_guava/1.4.16/AbstractCache
CacheBuilderoutput/java_guava/1.4.18/CacheBuilder.
SimpleStatsCounteroutput/java_guava/1.4.18/AbstractCache
CacheBuildercorpus/java/training/guava/cache/Cache

Calls

no outgoing calls

Tested by

no test coverage detected