Skip to main content

Module stats

Module stats 

Source
Expand description

Observability counters for ClockTtlCache. CacheStats is the Copy snapshot returned to callers; CacheCounters is the internal atomic-backed live shape.

Structsยง

CacheStats
Counters reported by ClockTtlCache::stats. Monotonic since construction (or the most recent reset_stats call); returned by value so callers own a snapshot, not a reference into the live atomics.