Fray Engine
Loading...
Searching...
No Matches
fray::routing::NeighborMonitor< Key >::HealthReport Struct Reference

#include <neighbor_monitor.hpp>

Public Attributes

uint64_t processedCount
uint64_t progressAgeMs
uint64_t heartbeat
std::vector< QueueHealth > queues

Detailed Description

template<class Key>
struct fray::routing::NeighborMonitor< Key >::HealthReport

Health data a neighbor reports in answer to a ping.

Definition at line 42 of file neighbor_monitor.hpp.

Member Data Documentation

◆ heartbeat

template<class Key>
uint64_t fray::routing::NeighborMonitor< Key >::HealthReport::heartbeat

Counter the neighbor increments while alive; a stuck value means a stalled thread.

Definition at line 49 of file neighbor_monitor.hpp.

◆ processedCount

template<class Key>
uint64_t fray::routing::NeighborMonitor< Key >::HealthReport::processedCount

Messages the neighbor has processed in total.

Definition at line 45 of file neighbor_monitor.hpp.

◆ progressAgeMs

template<class Key>
uint64_t fray::routing::NeighborMonitor< Key >::HealthReport::progressAgeMs

Milliseconds since the neighbor last made progress.

Definition at line 47 of file neighbor_monitor.hpp.

◆ queues

template<class Key>
std::vector<QueueHealth> fray::routing::NeighborMonitor< Key >::HealthReport::queues

The neighbor's own waiting queues.

Definition at line 51 of file neighbor_monitor.hpp.


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