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 CacheStatsCache.stats()Returns a current snapshot of this cache's cumulative statistics.LocalAsyncCache.AbstractCacheView.stats()default CacheStatsLocalManualCache.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 CacheStatsCacheStats.empty()Returns a statistics instance where no cache events have been recorded.@NonNull CacheStatsCacheStats.minus(@NonNull CacheStats other) Returns a newCacheStatsrepresenting the difference between thisCacheStatsandother.static CacheStatsCacheStats.of(@NonNegative long hitCount, @NonNegative long missCount, @NonNegative long loadSuccessCount, @NonNegative long loadFailureCount, @NonNegative long totalLoadTime, @NonNegative long evictionCount, @NonNegative long evictionWeight) Returns aCacheStatsrepresenting the specified statistics.@NonNull CacheStatsCacheStats.plus(@NonNull CacheStats other) Returns a newCacheStatsrepresenting the sum of thisCacheStatsandother.ConcurrentStatsCounter.snapshot()DisabledStatsCounter.snapshot()GuardedStatsCounter.snapshot()@NonNull CacheStatsStatsCounter.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 CacheStatsCacheStats.minus(@NonNull CacheStats other) Returns a newCacheStatsrepresenting the difference between thisCacheStatsandother.@NonNull CacheStatsCacheStats.plus(@NonNull CacheStats other) Returns a newCacheStatsrepresenting the sum of thisCacheStatsandother.