Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
etlng::impl::ForwardScheduler Class Reference
Inheritance diagram for etlng::impl::ForwardScheduler:
Collaboration diagram for etlng::impl::ForwardScheduler:

Public Member Functions

 ForwardScheduler (ForwardScheduler const &other)
 
 ForwardScheduler (std::reference_wrapper< etl::NetworkValidatedLedgersInterface > ledgers, uint32_t startSeq, std::optional< uint32_t > maxSeq=std::nullopt)
 
std::optional< model::Tasknext () override
 Attempt to obtain the next task.
 
- Public Member Functions inherited from etlng::SchedulerInterface

Member Function Documentation

◆ next()

std::optional< model::Task > etlng::impl::ForwardScheduler::next ( )
inlinenodiscardoverridevirtual

Attempt to obtain the next task.

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

Implements etlng::SchedulerInterface.


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