seqeron 0.18.0
Loading...
Searching...
No Matches
org::limitless::seqeron::app::Snapshots Struct Reference

What takes a façade into snapshot rounds: the listener, which must outlive the façade, and the directory where the instance keeps its snapshots, one file per round. More...

#include <org/limitless/seqeron/app/SnapshotListener.hpp>

Public Attributes

SnapshotListener & listener
 
std::filesystem::path directory
 

Detailed Description

What takes a façade into snapshot rounds: the listener, which must outlive the façade, and the directory where the instance keeps its snapshots, one file per round.

The directory is the instance's own (no other instance, its pair's included, may write it), and a restart restores from what it holds, so it must outlive the process.

Member Data Documentation

◆ directory

std::filesystem::path org::limitless::seqeron::app::Snapshots::directory

◆ listener

SnapshotListener& org::limitless::seqeron::app::Snapshots::listener

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