Searched refs:statsCounter (Results 1 – 2 of 2) sorted by relevance
59 private final StatsCounter statsCounter; field in LocalCache69 this.statsCounter = builder.getStatsCounterSupplier().get(); in LocalCache()78 statsCounter, in LocalCache()100 statsCounter.recordMisses(1); in get()103 statsCounter.recordHits(1); in get()107 statsCounter.recordEviction(); in get()108 statsCounter.recordMisses(1); in get()261 statsCounter.recordLoadException(ticker.read() - startTime); in load()264 statsCounter.recordLoadException(ticker.read() - startTime); in load()267 statsCounter.recordLoadException(ticker.read() - startTime); in load()[all …]
1875 int initialCapacity, long maxSegmentWeight, StatsCounter statsCounter) { in createSegment() argument1876 return new Segment<K, V>(this, initialCapacity, maxSegmentWeight, statsCounter); in createSegment()2087 final StatsCounter statsCounter; field in LocalCache.Segment2090 StatsCounter statsCounter) { in Segment() argument2093 this.statsCounter = checkNotNull(statsCounter); in Segment()2186 statsCounter.recordHits(1); in get()2246 statsCounter.recordHits(1); in lockedGetOrLoad()2285 statsCounter.recordMisses(1); in lockedGetOrLoad()2311 statsCounter.recordMisses(1); in waitForLoadingValue()2352 statsCounter.recordLoadSuccess(loadingValueReference.elapsedNanos()); in getAndRecordStats()[all …]