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

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

#include <SchedulerInterface.hpp>

Inheritance diagram for etl::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 process.

Member Function Documentation

◆ next()

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

Attempt to obtain the next task.

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

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


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