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

Durable write-ahead journal keyed by owner scope and dispatch_id; AlreadyPresent requires exact receipt bytes. More...

#include <controlled_provider.h>

Inheritance diagram for neograph::ProviderDispatchReceiptStore:
[legend]

Public Member Functions

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

Detailed Description

Durable write-ahead journal keyed by owner scope and dispatch_id; AlreadyPresent requires exact receipt bytes.

Definition at line 94 of file controlled_provider.h.

Member Function Documentation

◆ persist()

virtual ProviderDispatchReceiptPutResult neograph::ProviderDispatchReceiptStore::persist ( std::string_view  owner_scope,
const ProviderDispatchReceipt &  receipt 
)
inlinevirtual

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 in neograph::InMemoryProviderDispatchReceiptStore.

Definition at line 100 of file controlled_provider.h.

◆ state()

virtual ProviderDispatchState neograph::ProviderDispatchReceiptStore::state ( std::string_view  dispatch_id) const
inlinevirtual

Returns durable progress for a dispatch id.

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

Reimplemented in neograph::InMemoryProviderDispatchReceiptStore.

Definition at line 107 of file controlled_provider.h.


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