Expand description
TTL-driven object cache with poll-based expiry pruning.
TtlObjectCache stores values with per-entry TTLs and tracks their
locations via MemRegionLocator. Expired entries are removed by
calling tick or
prune_expired with the current
unix timestamp.
The cache is integrated with RenewalPolicy for configuring
renewal thresholds, though actual lease renewal is the caller’s
responsibility.
Structs§
- Cache
Stats - Statistics returned by
TtlObjectCache::tick. - TtlObject
Cache - Object cache with per-entry TTL and poll-driven expiry.