Uses of Interface
com.github.benmanes.caffeine.cache.stats.StatsCounter
Packages that use StatsCounter
Package
Description
This package contains in-memory caching functionality.
This package contains caching statistic utilities.
-
Uses of StatsCounter in com.github.benmanes.caffeine.cache
Method parameters in com.github.benmanes.caffeine.cache with type arguments of type StatsCounterModifier and TypeMethodDescriptionCaffeine.recordStats(Supplier<? extends StatsCounter> statsCounterSupplier) Enables the accumulation ofCacheStatsduring the operation of the cache. -
Uses of StatsCounter in com.github.benmanes.caffeine.cache.stats
Classes in com.github.benmanes.caffeine.cache.stats that implement StatsCounterModifier and TypeClassDescriptionfinal classA thread-safeStatsCounterimplementation for use byCacheimplementors.Methods in com.github.benmanes.caffeine.cache.stats that return StatsCounterModifier and TypeMethodDescriptionstatic StatsCounterStatsCounter.disabledStatsCounter()Returns an accumulator that does not record any cache events.static StatsCounterStatsCounter.guardedStatsCounter(StatsCounter statsCounter) Returns an accumulator that suppresses and logs any exception thrown by the delegatestatsCounter.Methods in com.github.benmanes.caffeine.cache.stats with parameters of type StatsCounterModifier and TypeMethodDescriptionstatic StatsCounterStatsCounter.guardedStatsCounter(StatsCounter statsCounter) Returns an accumulator that suppresses and logs any exception thrown by the delegatestatsCounter.voidConcurrentStatsCounter.incrementBy(StatsCounter other) Increments all counters by the values inother.