An empty external storage implementation, used when no external storage is configured. More...
#include <external_storage.hh>
Public Member Functions | |
null_external_storage () | |
bool | get_tick_data (const storage_state &) override |
Called by aether to check if there's any data that needs to be provided to the external storage implementation. More... | |
void | store_tick_data (const storage_state &) override |
Called by aether to forward the data to the user provided store implementation. More... | |
void | store_tick_data_ack (uint64_t completed_tick) override |
Called when all workers have finished their writes for a given tick, if any. More... | |
An empty external storage implementation, used when no external storage is configured.
|
inline |
|
inlineoverridevirtual |
Called by aether to check if there's any data that needs to be provided to the external storage implementation.
Implements aether::external_storage_iface.
|
inlineoverridevirtual |
Called by aether to forward the data to the user provided store implementation.
Implements aether::external_storage_iface.
|
inlineoverridevirtual |
Called when all workers have finished their writes for a given tick, if any.
Useful when using an append-based data model: enables notifying the database that all the updates for a given tick_id have been committed, so that the readers can safely read the data for this tick. Called from the background storage thread.
Implements aether::external_storage_iface.