Decentralised Art Server
High-performance C++ backend that exposes HTML interface and a secure REST API for managing Performative Transactions entities
Loading...
Searching...
No Matches
dcn::events::EventRuntime Class Referencefinal

#include <events_runtime.hpp>

Inheritance diagram for dcn::events::EventRuntime:
dcn::storage::sqlite::IWalStore

Public Member Functions

 EventRuntime (asio::io_context &io_context, EventRuntimeConfig config)
 ~EventRuntime ()
 EventRuntime (const EventRuntime &)=delete
EventRuntimeoperator= (const EventRuntime &)=delete
 EventRuntime (EventRuntime &&)=delete
EventRuntimeoperator= (EventRuntime &&)=delete
void start ()
void requestStop ()
asio::awaitable< void > stop ()
bool running () const
bool ingestionEnabled () const
void addProjector (std::unique_ptr< IEventProjector > projector)
SQLiteHotStoreprojectionStore ()
const asio::strand< asio::io_context::executor_type > & writeStrand () const
asio::awaitable< storage::sqlite::WalCheckpointStatscheckpointWal (storage::sqlite::WalCheckpointMode mode) const override
Public Member Functions inherited from dcn::storage::sqlite::IWalStore
virtual ~IWalStore ()=default

Constructor & Destructor Documentation

◆ EventRuntime() [1/3]

dcn::events::EventRuntime::EventRuntime ( asio::io_context & io_context,
EventRuntimeConfig config )

◆ ~EventRuntime()

dcn::events::EventRuntime::~EventRuntime ( )

◆ EventRuntime() [2/3]

dcn::events::EventRuntime::EventRuntime ( const EventRuntime & )
delete

◆ EventRuntime() [3/3]

dcn::events::EventRuntime::EventRuntime ( EventRuntime && )
delete

Member Function Documentation

◆ addProjector()

void dcn::events::EventRuntime::addProjector ( std::unique_ptr< IEventProjector > projector)

◆ checkpointWal()

asio::awaitable< storage::sqlite::WalCheckpointStats > dcn::events::EventRuntime::checkpointWal ( storage::sqlite::WalCheckpointMode mode) const
overridevirtual

◆ ingestionEnabled()

bool dcn::events::EventRuntime::ingestionEnabled ( ) const

◆ operator=() [1/2]

EventRuntime & dcn::events::EventRuntime::operator= ( const EventRuntime & )
delete

◆ operator=() [2/2]

EventRuntime & dcn::events::EventRuntime::operator= ( EventRuntime && )
delete

◆ projectionStore()

SQLiteHotStore & dcn::events::EventRuntime::projectionStore ( )

◆ requestStop()

void dcn::events::EventRuntime::requestStop ( )

◆ running()

bool dcn::events::EventRuntime::running ( ) const

◆ start()

void dcn::events::EventRuntime::start ( )

◆ stop()

asio::awaitable< void > dcn::events::EventRuntime::stop ( )

◆ writeStrand()

const asio::strand< asio::io_context::executor_type > & dcn::events::EventRuntime::writeStrand ( ) const
inline

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