morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::offline::SyncResult Struct Reference

Aggregated result returned by SyncWorker::run(). More...

#include <sync_worker.hpp>

Public Attributes

int successful = 0
 Number of items successfully replayed and removed from the queue.
int failed = 0
 Number of items that were delivered, refused, and left in the queue for retry, each having spent one attempt.
int undelivered = 0
 Number of items whose replay never reached the peer. They remain in the queue with their attempt count unchanged, so they are neither progress nor a step towards being dead-lettered. Items left queued by this run are failed + undelivered.
int deadLettered = 0
 Number of items that exhausted their retry budget and were dropped from the queue (handed to the DeadLetterSink if one is set, otherwise logged via morph::log::logError).

Detailed Description

Aggregated result returned by SyncWorker::run().

Definition at line 52 of file sync_worker.hpp.

Member Data Documentation

◆ successful

int morph::offline::SyncResult::successful = 0

Number of items successfully replayed and removed from the queue.

Definition at line 54 of file sync_worker.hpp.

◆ failed

int morph::offline::SyncResult::failed = 0

Number of items that were delivered, refused, and left in the queue for retry, each having spent one attempt.

Definition at line 58 of file sync_worker.hpp.

◆ undelivered

int morph::offline::SyncResult::undelivered = 0

Number of items whose replay never reached the peer. They remain in the queue with their attempt count unchanged, so they are neither progress nor a step towards being dead-lettered. Items left queued by this run are failed + undelivered.

Definition at line 64 of file sync_worker.hpp.

◆ deadLettered

int morph::offline::SyncResult::deadLettered = 0

Number of items that exhausted their retry budget and were dropped from the queue (handed to the DeadLetterSink if one is set, otherwise logged via morph::log::logError).

Definition at line 69 of file sync_worker.hpp.


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