Top Description Interfaces Classes Enums
module com.github.benmanes.caffeine

Package com.github.benmanes.caffeine.cache.stats

Annotations
@CheckReturnValue
@List:@org.checkerframework.framework.qual.DefaultQualifier(value=org.checkerframework.checker.nullness.qual.NonNull.class, locations={FIELD}), @org.checkerframework.framework.qual.DefaultQualifier(value=org.checkerframework.checker.nullness.qual.NonNull.class, locations={PARAMETER}), @org.checkerframework.framework.qual.DefaultQualifier(value=org.checkerframework.checker.nullness.qual.NonNull.class, locations={RETURN})
Imports
org.checkerframework.checker.nullness.qual.NonNull, org.checkerframework.framework.qual.DefaultQualifier, .TypeUseLocation, com.google.errorprone.annotations.CheckReturnValue

This package contains caching statistic utilities.
Author
[email protected] (Ben Manes)

Interface Summary

Modifier and TypeInterface and Description
public interface
StatsCounter

Accumulates statistics during the operation of a Cache for presentation by Cache#stats.

Class Summary

Modifier and TypeClass and Description
public class
CacheStats

Statistics about the performance of a Cache.

public class
ConcurrentStatsCounter

A thread-safe StatsCounter implementation for use by Cache implementors.

pack-priv class
GuardedStatsCounter

A StatsCounter implementation that suppresses and logs any exception thrown by the delegate statsCounter.

Enum Summary

Modifier and TypeEnum and Description
pack-priv enum
DisabledStatsCounter

A StatsCounter implementation that does not record any cache events.