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

Thread-safe in-memory receipt journal for standalone use and tests. More...

#include <controlled_provider.h>

Inheritance diagram for neograph::InMemoryProviderDispatchReceiptStore:
[legend]
Collaboration diagram for neograph::InMemoryProviderDispatchReceiptStore:
[legend]

Public Member Functions

ProviderDispatchReceiptPutResult persist (std::string_view owner_scope, const ProviderDispatchReceipt &receipt) override
 Scoped operations prevent one owner's dispatch id from colliding with another's.
 
ProviderDispatchState state (std::string_view dispatch_id) const override
 Returns durable progress for a dispatch id.
 

Detailed Description

Thread-safe in-memory receipt journal for standalone use and tests.

Definition at line 139 of file controlled_provider.h.

Member Function Documentation

◆ persist()

ProviderDispatchReceiptPutResult neograph::InMemoryProviderDispatchReceiptStore::persist ( std::string_view  owner_scope,
const ProviderDispatchReceipt &  receipt 
)
overridevirtual

Scoped operations prevent one owner's dispatch id from colliding with another's.

Existing stores retain their legacy behavior until they opt into scope handling.

Reimplemented from neograph::ProviderDispatchReceiptStore.

◆ state()

ProviderDispatchState neograph::InMemoryProviderDispatchReceiptStore::state ( std::string_view  dispatch_id) const
overridevirtual

Returns durable progress for a dispatch id.

Unavailable means this store cannot make a safe post-crash retry decision.

Reimplemented from neograph::ProviderDispatchReceiptStore.


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