14 #ifndef ADMIN_CLIENTS_SERIALIZATOR_HPP
15 #define ADMIN_CLIENTS_SERIALIZATOR_HPP
28 const std::string PURGE_COUNTER =
"purgeCounter";
29 const std::string REFRESH_NOT_FOUND_COUNTER =
"refreshNotFoundCounter";
30 const std::string CLIENTS_COUNT =
"clientsCount";
31 const std::string CLIENTS =
"clients";
32 const std::string IDENTITY =
"identity";
33 const std::string COUNT =
"count";
34 const std::string FREQUENCY =
"frequency";
35 const std::string EXPIRY =
"expiry";
36 const std::string CPU =
"cpu";
37 const std::string IOWAIT =
"iowait";
47 AdminClientsSerializator(std::vector<ClientWorkerItem>& clients_,
unsigned long long purgeCounter_,
unsigned long long refreshNotFoundCounter_);
55 void setPurgeCounter(
unsigned long long purgeCounter_) {purgeCounter=purgeCounter_;}
63 std::vector<ClientWorkerItem>& clients;
64 unsigned long long purgeCounter;
65 unsigned long long refreshNotFoundCounter;
74 #endif // ADMIN_CLIENTS_SERIALIZATOR_HPP