NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::program::SQLiteProgramStore Class Referencefinal

Transactional SQLite implementation of ProgramStore. More...

#include <sqlite_store.h>

Inheritance diagram for neograph::program::SQLiteProgramStore:
[legend]
Collaboration diagram for neograph::program::SQLiteProgramStore:
[legend]

Additional Inherited Members

- Public Member Functions inherited from neograph::program::SyncProgramStore
bool completes_at_once () const noexcept
 True when every awaitable operation completes at once on the calling thread, not on a pool thread.
 
asio::awaitable< std::optional< ProgramActivation > > get_activation (std::string_view owner_scope) const final
 Owner-scoped activation lifecycle.
 
asio::awaitable< std::optional< ProgramActivationBinding > > get_active_binding (std::string_view owner_scope) const final
 Return one coherent activation/version tuple.
 
asio::awaitable< std::optional< ProgramBundle > > get_bundle (std::string_view owner_scope, std::string_view id) const final
 Owner-qualified lookups.
 
asio::awaitable< void > publish_admitted (const ProgramBundle &bundle, const ProgramVersion &version) final
 Atomically publish one admitted bundle/version tuple.
 
- Protected Member Functions inherited from neograph::program::SyncProgramStore
virtual bool offloads () const noexcept
 True for a backend that blocks for long: each operation then runs on a pool thread.
 

Detailed Description

Transactional SQLite implementation of ProgramStore.

A single connection is guarded by an internal mutex. Publish and activation compare-and-swap each use a database transaction, so a process crash cannot expose a half-written bundle/version or activation pointer.

Definition at line 22 of file sqlite_store.h.


The documentation for this class was generated from the following file: