#include <pulp/timeline/transaction.hpp>#include <cstddef>#include <optional>#include <span>#include <vector>Go to the source code of this file.
Classes | |
| struct | pulp::timeline::JournalLimits |
| In-memory command-journal quotas. More... | |
| struct | pulp::timeline::JournalEntry |
| One contiguous revision transition retained by the command journal. More... | |
| class | pulp::timeline::JournalSink |
| Synchronous durability boundary used by DocumentSession. More... | |
| class | pulp::timeline::CommandJournal |
| Bounded, replayable in-memory log of contiguous document revisions. More... | |
Namespaces | |
| namespace | pulp |
| namespace | pulp::timeline |
| namespace | pulp::timeline::detail |
Enumerations | |
| enum class | pulp::timeline::JournalEntryKind : std::uint8_t { pulp::timeline::JournalEntryKind::Ordinary , pulp::timeline::JournalEntryKind::History } |
| Distinguishes user submissions from generated undo/redo transactions. More... | |
| enum class | pulp::timeline::JournalSinkError : std::uint8_t { pulp::timeline::JournalSinkError::Closed , pulp::timeline::JournalSinkError::IoError , pulp::timeline::JournalSinkError::InvalidState , pulp::timeline::JournalSinkError::DurabilityUncertain } |
| Failure category returned by a durable JournalSink. More... | |
Functions | |
| std::size_t | pulp::timeline::retained_size (const JournalEntry &entry) noexcept |
| Returns a saturated retained-memory estimate for one journal entry. | |