My Project 3.5.5
C++ Distributed Hash Table
Loading...
Searching...
No Matches
dht::DhtProxyServer::ServerStats Struct Reference
Collaboration diagram for dht::DhtProxyServer::ServerStats:

Public Member Functions

std::string toString () const
Json::Value toJson () const

Public Attributes

size_t listenCount {0}
size_t putCount {0}
size_t totalPermanentPuts {0}
size_t pushListenersCount {0}
time_point serverStartTime
time_point lastUpdated
PushStats androidPush
PushStats iosPush
PushStats unifiedPush
double requestRate {0}
std::shared_ptr< NodeInfonodeInfo {}

Detailed Description

Definition at line 127 of file dht_proxy_server.h.

Member Function Documentation

◆ toJson()

Json::Value dht::DhtProxyServer::ServerStats::toJson ( ) const

Build a json object from a NodeStats

Member Data Documentation

◆ androidPush

PushStats dht::DhtProxyServer::ServerStats::androidPush

Total number of push notification requests that the server attempted to send since being started, broken down by type and priority level

Definition at line 143 of file dht_proxy_server.h.

◆ iosPush

PushStats dht::DhtProxyServer::ServerStats::iosPush

Definition at line 144 of file dht_proxy_server.h.

◆ lastUpdated

time_point dht::DhtProxyServer::ServerStats::lastUpdated

Last time at which the stats were updated

Definition at line 140 of file dht_proxy_server.h.

◆ listenCount

size_t dht::DhtProxyServer::ServerStats::listenCount {0}

Current number of listen operations

Definition at line 129 of file dht_proxy_server.h.

◆ nodeInfo

std::shared_ptr<NodeInfo> dht::DhtProxyServer::ServerStats::nodeInfo {}

Node Info

Definition at line 150 of file dht_proxy_server.h.

◆ pushListenersCount

size_t dht::DhtProxyServer::ServerStats::pushListenersCount {0}

Current number of push tokens with at least one listen operation

Definition at line 135 of file dht_proxy_server.h.

◆ putCount

size_t dht::DhtProxyServer::ServerStats::putCount {0}

Current number of permanent put operations (hash used)

Definition at line 131 of file dht_proxy_server.h.

◆ requestRate

double dht::DhtProxyServer::ServerStats::requestRate {0}

Average requests per second

Definition at line 148 of file dht_proxy_server.h.

◆ serverStartTime

time_point dht::DhtProxyServer::ServerStats::serverStartTime

Time at which the server was started

Definition at line 138 of file dht_proxy_server.h.

◆ totalPermanentPuts

size_t dht::DhtProxyServer::ServerStats::totalPermanentPuts {0}

Current number of permanent put values

Definition at line 133 of file dht_proxy_server.h.

◆ unifiedPush

PushStats dht::DhtProxyServer::ServerStats::unifiedPush

Definition at line 145 of file dht_proxy_server.h.


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