My Project 3.2.0
C++ Distributed Hash Table
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
dht::DhtProxyServer::ServerStats Struct Reference
Collaboration diagram for dht::DhtProxyServer::ServerStats:
Collaboration graph
[legend]

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}
 
double requestRate {0}
 
std::shared_ptr< NodeInfonodeInfo {}
 

Detailed Description

Definition at line 101 of file dht_proxy_server.h.

Member Function Documentation

◆ toJson()

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

Build a json object from a NodeStats

Definition at line 133 of file dht_proxy_server.h.

◆ toString()

std::string dht::DhtProxyServer::ServerStats::toString ( ) const
inline

Definition at line 115 of file dht_proxy_server.h.

Member Data Documentation

◆ listenCount

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

Current number of listen operations

Definition at line 103 of file dht_proxy_server.h.

◆ nodeInfo

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

Node Info

Definition at line 113 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 109 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 105 of file dht_proxy_server.h.

◆ requestRate

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

Average requests per second

Definition at line 111 of file dht_proxy_server.h.

◆ totalPermanentPuts

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

Current number of permanent put values

Definition at line 107 of file dht_proxy_server.h.


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