Uses of Class
com.github.benmanes.caffeine.cache.stats.CacheStats
Packages that use CacheStats
Package
Description
This package contains caching utilities.
This package contains caching statistic utilities.
-
Uses of CacheStats in com.github.benmanes.caffeine.cache
Methods in com.github.benmanes.caffeine.cache that return CacheStatsModifier and TypeMethodDescriptionCache.stats()
Returns a current snapshot of this cache's cumulative statistics.LocalAsyncLoadingCache.LoadingCacheView.stats()
default CacheStats
LocalManualCache.stats()
-
Uses of CacheStats in com.github.benmanes.caffeine.cache.stats
Fields in com.github.benmanes.caffeine.cache.stats declared as CacheStatsMethods in com.github.benmanes.caffeine.cache.stats that return CacheStatsModifier and TypeMethodDescriptionstatic CacheStats
CacheStats.empty()
Returns a statistics instance where no cache events have been recorded.CacheStats.minus
(CacheStats other) Returns a newCacheStats
representing the difference between thisCacheStats
andother
.CacheStats.plus
(CacheStats other) Returns a newCacheStats
representing the sum of thisCacheStats
andother
.ConcurrentStatsCounter.snapshot()
DisabledStatsCounter.snapshot()
GuardedStatsCounter.snapshot()
StatsCounter.snapshot()
Returns a snapshot of this counter's values.Methods in com.github.benmanes.caffeine.cache.stats with parameters of type CacheStatsModifier and TypeMethodDescriptionCacheStats.minus
(CacheStats other) Returns a newCacheStats
representing the difference between thisCacheStats
andother
.CacheStats.plus
(CacheStats other) Returns a newCacheStats
representing the sum of thisCacheStats
andother
.