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 TypeMethodDescription@NonNull CacheStats
Cache.stats()
Returns a current snapshot of this cache's cumulative statistics.LocalAsyncCache.AbstractCacheView.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 @NonNull CacheStats
CacheStats.empty()
Returns a statistics instance where no cache events have been recorded.@NonNull CacheStats
CacheStats.minus
(@NonNull CacheStats other) Returns a newCacheStats
representing the difference between thisCacheStats
andother
.static CacheStats
CacheStats.of
(@org.checkerframework.checker.index.qual.NonNegative long hitCount, @org.checkerframework.checker.index.qual.NonNegative long missCount, @org.checkerframework.checker.index.qual.NonNegative long loadSuccessCount, @org.checkerframework.checker.index.qual.NonNegative long loadFailureCount, @org.checkerframework.checker.index.qual.NonNegative long totalLoadTime, @org.checkerframework.checker.index.qual.NonNegative long evictionCount, @org.checkerframework.checker.index.qual.NonNegative long evictionWeight) Returns aCacheStats
representing the specified statistics.@NonNull CacheStats
CacheStats.plus
(@NonNull CacheStats other) Returns a newCacheStats
representing the sum of thisCacheStats
andother
.ConcurrentStatsCounter.snapshot()
DisabledStatsCounter.snapshot()
GuardedStatsCounter.snapshot()
@NonNull CacheStats
StatsCounter.snapshot()
Returns a snapshot of this counter's values.Methods in com.github.benmanes.caffeine.cache.stats with parameters of type CacheStatsModifier and TypeMethodDescription@NonNull CacheStats
CacheStats.minus
(@NonNull CacheStats other) Returns a newCacheStats
representing the difference between thisCacheStats
andother
.@NonNull CacheStats
CacheStats.plus
(@NonNull CacheStats other) Returns a newCacheStats
representing the sum of thisCacheStats
andother
.