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 startSeq, std::optional< uint32_t > finishSeq=std::nullopt)=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 startSeq,
std::optional< uint32_t > finishSeq = std::nullopt )
nodiscardpure virtual

Make a task manager.

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

Implemented in etlng::impl::TaskManagerProvider.


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