Uses of Class
com.github.benmanes.caffeine.cache.stats.CacheStats
Packages that use CacheStats
Package
Description
This package contains in-memory caching functionality.
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. -
Uses of CacheStats in com.github.benmanes.caffeine.cache.stats
Methods in com.github.benmanes.caffeine.cache.stats that return CacheStatsModifier and TypeMethodDescriptionstatic CacheStatsCacheStats.empty()Returns a statistics instance where no cache events have been recorded.CacheStats.minus(CacheStats other) Returns a newCacheStatsrepresenting the difference between thisCacheStatsandother.static CacheStatsCacheStats.of(long hitCount, long missCount, long loadSuccessCount, long loadFailureCount, long totalLoadTime, long evictionCount, long evictionWeight) Returns aCacheStatsrepresenting the specified statistics.CacheStats.plus(CacheStats other) Returns a newCacheStatsrepresenting the sum of thisCacheStatsandother.ConcurrentStatsCounter.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 newCacheStatsrepresenting the difference between thisCacheStatsandother.CacheStats.plus(CacheStats other) Returns a newCacheStatsrepresenting the sum of thisCacheStatsandother.