Uses of Class
com.github.benmanes.caffeine.cache.stats.CacheStats
-
Packages that use CacheStats 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 CacheStats in com.github.benmanes.caffeine.cache
Methods in com.github.benmanes.caffeine.cache that return CacheStats Modifier and Type Method Description @NonNull CacheStatsCache. stats()Returns a current snapshot of this cache's cumulative statistics.CacheStatsLocalAsyncCache.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 CacheStats Modifier and Type Field Description private static CacheStatsCacheStats. EMPTY_STATSMethods in com.github.benmanes.caffeine.cache.stats that return CacheStats Modifier and Type Method Description static @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(@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 aCacheStatsrepresenting the specified statistics.@NonNull CacheStatsCacheStats. plus(@NonNull CacheStats other)Returns a newCacheStatsrepresenting the sum of thisCacheStatsandother.CacheStatsConcurrentStatsCounter. snapshot()CacheStatsDisabledStatsCounter. snapshot()CacheStatsGuardedStatsCounter. snapshot()@NonNull CacheStatsStatsCounter. snapshot()Returns a snapshot of this counter's values.Methods in com.github.benmanes.caffeine.cache.stats with parameters of type CacheStats Modifier and Type Method Description @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.
-