Uses of Interface
com.github.benmanes.caffeine.cache.stats.StatsCounter
Packages that use StatsCounter
Package
Description
This package contains caching utilities.
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(@NonNull 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 @NonNull StatsCounterStatsCounter.disabledStatsCounter()Returns an accumulator that does not record any cache events.static @NonNull StatsCounterStatsCounter.guardedStatsCounter(@NonNull 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 @NonNull StatsCounterStatsCounter.guardedStatsCounter(@NonNull StatsCounter statsCounter) Returns an accumulator that suppresses and logs any exception thrown by the delegatestatsCounter.voidConcurrentStatsCounter.incrementBy(@NonNull StatsCounter other) Increments all counters by the values inother.