Skip to main content

Module cache

Module cache 

Source
Expand description

Generic LRU cache primitives used across the workspace. Lock-free LRU cache backed by DashMap with atomic metrics

Structs§

Cache
LRU-like cache using DashMap Uses atomic counters for LRU approximation and metrics
CacheManager
Multi-cache manager using lock-free caches
CacheManagerSummary
Aggregated summary across all caches managed by a CacheManager
CacheStats
Cache statistics snapshot

Enums§

EvictionEvent
Event for async eviction processing

Traits§

CacheProvider
Trait for generic cache operations

Functions§

get_global_cache_manager
Returns a reference to the global cache manager, creating it if needed
init_global_cache_manager
Initializes the global cache manager (idempotent)

Type Aliases§

SessionCache
Type alias for session cache