Decentralised Art Server
High-performance C++ backend that exposes HTML interface and a secure REST API for managing Performative Transactions entities
Loading...
Searching...
No Matches
dcn::feed::IFeedStore Class Referenceabstract

#include <feed_store.hpp>

Inheritance diagram for dcn::feed::IFeedStore:
dcn::feed::SqliteFeedStore

Public Member Functions

virtual ~IFeedStore ()=default
virtual void applyChange (const events::ChangeRecord &row, std::int64_t now_ms)=0
virtual void maintainOutbox (std::int64_t now_ms)=0
virtual FeedPage getFeedPage (const FeedQuery &query) const =0
virtual StreamPage getStreamPage (const StreamQuery &query) const =0
virtual std::int64_t minAvailableStreamSeq () const =0
virtual std::int64_t getFeedCursor () const =0
virtual void setFeedCursor (std::int64_t last_change_seq)=0
virtual bool runArchiveCycle (int chain_id, std::size_t hot_window_days, std::int64_t now_ms)=0
virtual storage::sqlite::WalCheckpointStats checkpointWal (storage::sqlite::WalCheckpointMode mode)=0

Constructor & Destructor Documentation

◆ ~IFeedStore()

virtual dcn::feed::IFeedStore::~IFeedStore ( )
virtualdefault

Member Function Documentation

◆ applyChange()

virtual void dcn::feed::IFeedStore::applyChange ( const events::ChangeRecord & row,
std::int64_t now_ms )
pure virtual

Implemented in dcn::feed::SqliteFeedStore.

◆ checkpointWal()

virtual storage::sqlite::WalCheckpointStats dcn::feed::IFeedStore::checkpointWal ( storage::sqlite::WalCheckpointMode mode)
pure virtual

Implemented in dcn::feed::SqliteFeedStore.

◆ getFeedCursor()

virtual std::int64_t dcn::feed::IFeedStore::getFeedCursor ( ) const
pure virtual

Implemented in dcn::feed::SqliteFeedStore.

◆ getFeedPage()

virtual FeedPage dcn::feed::IFeedStore::getFeedPage ( const FeedQuery & query) const
pure virtual

Implemented in dcn::feed::SqliteFeedStore.

◆ getStreamPage()

virtual StreamPage dcn::feed::IFeedStore::getStreamPage ( const StreamQuery & query) const
pure virtual

Implemented in dcn::feed::SqliteFeedStore.

◆ maintainOutbox()

virtual void dcn::feed::IFeedStore::maintainOutbox ( std::int64_t now_ms)
pure virtual

Implemented in dcn::feed::SqliteFeedStore.

◆ minAvailableStreamSeq()

virtual std::int64_t dcn::feed::IFeedStore::minAvailableStreamSeq ( ) const
pure virtual

Implemented in dcn::feed::SqliteFeedStore.

◆ runArchiveCycle()

virtual bool dcn::feed::IFeedStore::runArchiveCycle ( int chain_id,
std::size_t hot_window_days,
std::int64_t now_ms )
pure virtual

Implemented in dcn::feed::SqliteFeedStore.

◆ setFeedCursor()

virtual void dcn::feed::IFeedStore::setFeedCursor ( std::int64_t last_change_seq)
pure virtual

Implemented in dcn::feed::SqliteFeedStore.


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