Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
etlng::TaskManagerProviderInterface Struct Referenceabstract

An interface for providing the Task Manager. More...

#include <TaskManagerProviderInterface.hpp>

Inheritance diagram for etlng::TaskManagerProviderInterface:

Public Member Functions

virtual std::unique_ptr< TaskManagerInterfacemake (util::async::AnyExecutionContext ctx, std::reference_wrapper< MonitorInterface > monitor, uint32_t seq)=0
 Make a task manager.
 

Detailed Description

An interface for providing the Task Manager.

Member Function Documentation

◆ make()

virtual std::unique_ptr< TaskManagerInterface > etlng::TaskManagerProviderInterface::make ( util::async::AnyExecutionContext ctx,
std::reference_wrapper< MonitorInterface > monitor,
uint32_t seq )
pure virtual

Make a task manager.

Parameters
ctxThe async context to associate the task manager instance with
monitorThe monitor to notify when ledger is loaded
seqThe sequence to start at
Returns
A unique pointer to a TaskManager implementation

Implemented in etlng::impl::TaskManagerProvider.


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