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

Public Member Functions

 CacheUpdater (data::LedgerCacheInterface &cache)
 
void update (model::LedgerData const &data) override
 Update the cache with ledger data.
 
void update (uint32_t seq, std::vector< data::LedgerObject > const &objs) override
 Update the cache with ledger objects at a specific sequence.
 
void update (uint32_t seq, std::vector< model::Object > const &objs) override
 Update the cache with model objects at a specific sequence.
 
void setFull () override
 Mark the cache as fully loaded.
 
- Public Member Functions inherited from etlng::CacheUpdaterInterface

Member Function Documentation

◆ setFull()

void etlng::impl::CacheUpdater::setFull ( )
inlineoverridevirtual

Mark the cache as fully loaded.

Implements etlng::CacheUpdaterInterface.

◆ update() [1/3]

void etlng::impl::CacheUpdater::update ( model::LedgerData const & data)
inlineoverridevirtual

Update the cache with ledger data.

Parameters
dataThe ledger data to update with

Implements etlng::CacheUpdaterInterface.

◆ update() [2/3]

void etlng::impl::CacheUpdater::update ( uint32_t seq,
std::vector< data::LedgerObject > const & objs )
inlineoverridevirtual

Update the cache with ledger objects at a specific sequence.

Parameters
seqThe ledger sequence number
objsThe ledger objects to update with

Implements etlng::CacheUpdaterInterface.

◆ update() [3/3]

void etlng::impl::CacheUpdater::update ( uint32_t seq,
std::vector< model::Object > const & objs )
inlineoverridevirtual

Update the cache with model objects at a specific sequence.

Parameters
seqThe ledger sequence number
objsThe model objects to update with

Implements etlng::CacheUpdaterInterface.


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