Skip to main content

Module cache_layout

Module cache_layout 

Source
Expand description

Unified cache layout classification and eviction policy contracts. Unified cache layout classification and eviction policy contracts.

KeyHog produces persistent artifacts across several sub-systems: Hyperscan pattern shard databases (hs-*.db), pre-parsed detector JSON plans (detectors-*.json), compiled GPU literal set programs (programs/*), and persistent matcher artifact graphs (*.khm). Inter-process lock files (*.lock) coordinate atomic writes and cache updates.

This module provides the single canonical owner of cache artifact classification and registered eviction policies (count limits, byte caps, and lock age bounds).

Structs§

CacheEvictionPolicy
Eviction policy governing count limits, byte caps, and stale lock reclamation.

Enums§

CacheKind
All distinct cache artifact kinds managed by KeyHog.