Uses of Interface
com.github.benmanes.caffeine.cache.stats.StatsCounter
-
Packages that use StatsCounter Package Description com.github.benmanes.caffeine.cache This package contains caching utilities.com.github.benmanes.caffeine.cache.stats This package contains caching statistic utilities. -
-
Uses of StatsCounter in com.github.benmanes.caffeine.cache
Fields in com.github.benmanes.caffeine.cache declared as StatsCounter Modifier and Type Field Description (package private) StatsCounter
SILS. statsCounter
(package private) StatsCounter
SIS. statsCounter
(package private) StatsCounter
SSLS. statsCounter
(package private) StatsCounter
SSS. statsCounter
(package private) StatsCounter
UnboundedLocalCache. statsCounter
(package private) StatsCounter
WILS. statsCounter
(package private) StatsCounter
WIS. statsCounter
(package private) StatsCounter
WSLS. statsCounter
(package private) StatsCounter
WSS. statsCounter
Fields in com.github.benmanes.caffeine.cache with type parameters of type StatsCounter Modifier and Type Field Description (package private) static java.util.function.Supplier<StatsCounter>
Caffeine. ENABLED_STATS_COUNTER_SUPPLIER
(package private) @Nullable java.util.function.Supplier<StatsCounter>
Caffeine. statsCounterSupplier
Methods in com.github.benmanes.caffeine.cache that return StatsCounter Modifier and Type Method Description StatsCounter
BoundedLocalCache. statsCounter()
@NonNull StatsCounter
LocalCache. statsCounter()
Returns theStatsCounter
used by this cache.StatsCounter
SILS. statsCounter()
StatsCounter
SIS. statsCounter()
StatsCounter
SSLS. statsCounter()
StatsCounter
SSS. statsCounter()
StatsCounter
UnboundedLocalCache. statsCounter()
StatsCounter
WILS. statsCounter()
StatsCounter
WIS. statsCounter()
StatsCounter
WSLS. statsCounter()
StatsCounter
WSS. statsCounter()
Methods in com.github.benmanes.caffeine.cache that return types with arguments of type StatsCounter Modifier and Type Method Description (package private) @NonNull java.util.function.Supplier<StatsCounter>
Caffeine. getStatsCounterSupplier()
Method parameters in com.github.benmanes.caffeine.cache with type arguments of type StatsCounter Modifier and Type Method Description @NonNull Caffeine<K,V>
Caffeine. recordStats(@NonNull java.util.function.Supplier<? extends StatsCounter> statsCounterSupplier)
Enables the accumulation ofCacheStats
during 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 StatsCounter Modifier and Type Class Description class
ConcurrentStatsCounter
A thread-safeStatsCounter
implementation for use byCache
implementors.(package private) class
DisabledStatsCounter
AStatsCounter
implementation that does not record any cache events.(package private) class
GuardedStatsCounter
AStatsCounter
implementation that suppresses and logs any exception thrown by the delegate statsCounter.Fields in com.github.benmanes.caffeine.cache.stats declared as StatsCounter Modifier and Type Field Description (package private) StatsCounter
GuardedStatsCounter. delegate
Methods in com.github.benmanes.caffeine.cache.stats that return StatsCounter Modifier and Type Method Description static @NonNull StatsCounter
StatsCounter. disabledStatsCounter()
Returns an accumulator that does not record any cache events.static @NonNull StatsCounter
StatsCounter. 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 StatsCounter Modifier and Type Method Description static @NonNull StatsCounter
StatsCounter. guardedStatsCounter(@NonNull StatsCounter statsCounter)
Returns an accumulator that suppresses and logs any exception thrown by the delegatestatsCounter
.void
ConcurrentStatsCounter. incrementBy(@NonNull StatsCounter other)
Increments all counters by the values inother
.Constructors in com.github.benmanes.caffeine.cache.stats with parameters of type StatsCounter Constructor Description GuardedStatsCounter(StatsCounter delegate)
-