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

The interface for observing the initial ledger load. More...

#include <InitialLoadObserverInterface.hpp>

Inheritance diagram for etl::InitialLoadObserverInterface:

Public Member Functions

virtual void onInitialLoadGotMoreObjects (uint32_t seq, std::vector< model::Object > const &data, std::optional< std::string > lastKey=std::nullopt)=0
 Callback for each incoming batch of objects during initial ledger load.

Detailed Description

The interface for observing the initial ledger load.

Member Function Documentation

◆ onInitialLoadGotMoreObjects()

virtual void etl::InitialLoadObserverInterface::onInitialLoadGotMoreObjects ( uint32_t seq,
std::vector< model::Object > const & data,
std::optional< std::string > lastKey = std::nullopt )
pure virtual

Callback for each incoming batch of objects during initial ledger load.

Parameters
seqThe sequence for this batch of objects
dataThe batch of objects
lastKeyThe last key of the previous batch if there was one

Implemented in etl::impl::Loader.


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