Inherits ccf::indexing::Strategy.
◆ CommittedRecords()
loggingapp::CommittedRecords::CommittedRecords |
( |
const std::string & |
map_name_, |
|
|
const ccf::TxID & |
initial_txid = {} |
|
) |
| |
|
inline |
◆ get()
std::optional< std::string > loggingapp::CommittedRecords::get |
( |
size_t |
id | ) |
|
|
inline |
◆ get_current_txid()
ccf::TxID loggingapp::CommittedRecords::get_current_txid |
( |
| ) |
|
|
inline |
◆ handle_committed_transaction()
Receives every committed transaction, in-order, shortly after commit.
The given store contains only the changes that occured in the current transaction.
Implements ccf::indexing::Strategy.
◆ next_requested()
std::optional< ccf::SeqNo > loggingapp::CommittedRecords::next_requested |
( |
| ) |
|
|
inlineoverridevirtual |
Returns next tx for which this index should be populated, or nullopt if it wants none. Allows indexes to be populated lazily on-demand, or out-of-order, or reset
Implements ccf::indexing::Strategy.
The documentation for this class was generated from the following file: