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

The interface of a scheduler for the extraction proccess. More...

#include <SchedulerInterface.hpp>

Inheritance diagram for etlng::SchedulerInterface:

Public Member Functions

virtual std::optional< model::Tasknext ()=0
 Attempt to obtain the next task.
 

Detailed Description

The interface of a scheduler for the extraction proccess.

Member Function Documentation

◆ next()

virtual std::optional< model::Task > etlng::SchedulerInterface::next ( )
nodiscardpure virtual

Attempt to obtain the next task.

Returns
A task if one exists; std::nullopt otherwise

Implemented in etlng::impl::BackfillScheduler, etlng::impl::ForwardScheduler, and etlng::impl::SchedulerChain< Schedulers >.


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