Skip to main content

Module session_cache

Module session_cache 

Source
Expand description

Lock-free session snapshots. Durable read/modify/write transactions remain the responsibility of SessionRepository; readers never join their queue.

Structs§

SessionCacheEntry
SessionCacheMap
Both the index and the values use atomic publication. Unlike a DashMap guard, a returned entry does not hold a shard lock while cloning a transcript.
SessionRead
Deliberately does not implement Clone: read().clone() clones the Session, preserving the existing detached-snapshot read contract.
SessionSnapshot
An immutable version can remain in use while a writer publishes its successor.

Type Aliases§

SessionCache