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

An interface for the Cache Updater. More...

#include <CacheUpdaterInterface.hpp>

Inheritance diagram for etlng::CacheUpdaterInterface:

Public Member Functions

virtual void update (model::LedgerData const &data)=0
 Update the cache with ledger data.
 
virtual void update (uint32_t seq, std::vector< data::LedgerObject > const &objs)=0
 Update the cache with ledger objects at a specific sequence.
 
virtual void update (uint32_t seq, std::vector< model::Object > const &objs)=0
 Update the cache with model objects at a specific sequence.
 
virtual void setFull ()=0
 Mark the cache as fully loaded.
 

Detailed Description

An interface for the Cache Updater.

Member Function Documentation

◆ setFull()

virtual void etlng::CacheUpdaterInterface::setFull ( )
pure virtual

Mark the cache as fully loaded.

Implemented in etlng::impl::CacheUpdater.

◆ update() [1/3]

virtual void etlng::CacheUpdaterInterface::update ( model::LedgerData const & data)
pure virtual

Update the cache with ledger data.

Parameters
dataThe ledger data to update with

Implemented in etlng::impl::CacheUpdater.

◆ update() [2/3]

virtual void etlng::CacheUpdaterInterface::update ( uint32_t seq,
std::vector< data::LedgerObject > const & objs )
pure virtual

Update the cache with ledger objects at a specific sequence.

Parameters
seqThe ledger sequence number
objsThe ledger objects to update with

Implemented in etlng::impl::CacheUpdater.

◆ update() [3/3]

virtual void etlng::CacheUpdaterInterface::update ( uint32_t seq,
std::vector< model::Object > const & objs )
pure virtual

Update the cache with model objects at a specific sequence.

Parameters
seqThe ledger sequence number
objsThe model objects to update with

Implemented in etlng::impl::CacheUpdater.


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