Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ ConnectionMetrics() [2/3]

IceMX::ConnectionMetrics::ConnectionMetrics ( std::string id,
std::int64_t total,
std::int32_t current,
std::int64_t totalLifetime,
std::int32_t failures,
std::int64_t receivedBytes,
std::int64_t sentBytes )
inlinenoexcept

One-shot constructor to initialize all data members.

Parameters
idThe metrics identifier.
totalThe total number of objects observed by this metrics.
currentThe number of objects currently observed by this metrics.
totalLifetimeThe sum of the lifetime of each observed objects.
failuresThe number of failures observed.
receivedBytesThe number of bytes received by the connection.
sentBytesThe number of bytes sent by the connection.

Definition at line 806 of file Metrics.h.