Expand description
Lock-free session snapshots. Durable read/modify/write transactions remain the responsibility of SessionRepository; readers never join their queue.
Structs§
- Session
Cache Entry - Session
Cache Map - 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.
- Session
Read - Deliberately does not implement Clone:
read().clone()clones the Session, preserving the existing detached-snapshot read contract. - Session
Snapshot - An immutable version can remain in use while a writer publishes its successor.