xrpld
Loading...
Searching...
No Matches
xrpl::OverlayImpl::Stats Struct Reference
Collaboration diagram for xrpl::OverlayImpl::Stats:

Public Member Functions

template<class Handler>
 Stats (Handler const &handler, beast::insight::Collector::ptr const &collector, std::unordered_map< TrafficCount::Category, TrafficGauges > &&trafficGauges)

Public Attributes

beast::insight::Gauge peerDisconnects
std::unordered_map< TrafficCount::Category, TrafficGaugestrafficGauges
beast::insight::Hook hook

Detailed Description

Definition at line 549 of file OverlayImpl.h.

Constructor & Destructor Documentation

◆ Stats()

template<class Handler>
xrpl::OverlayImpl::Stats::Stats ( Handler const & handler,
beast::insight::Collector::ptr const & collector,
std::unordered_map< TrafficCount::Category, TrafficGauges > && trafficGauges )

Definition at line 552 of file OverlayImpl.h.

Member Data Documentation

◆ peerDisconnects

beast::insight::Gauge xrpl::OverlayImpl::Stats::peerDisconnects

Definition at line 562 of file OverlayImpl.h.

◆ trafficGauges

std::unordered_map<TrafficCount::Category, TrafficGauges> xrpl::OverlayImpl::Stats::trafficGauges

Definition at line 563 of file OverlayImpl.h.

◆ hook

beast::insight::Hook xrpl::OverlayImpl::Stats::hook

Definition at line 564 of file OverlayImpl.h.