Encapsulates information about the participating peers in a cpid2k job.
More...
#include <cpid2kworker.h>
|
using | Clock = std::chrono::steady_clock |
|
Encapsulates information about the participating peers in a cpid2k job.
cpid::Cpid2kGlobalState::Cpid2kGlobalState |
( |
std::string |
prefix, |
|
|
int64_t |
updateIntervalMs = 5 * 1000 |
|
) |
| |
bool cpid::Cpid2kGlobalState::isDone |
( |
| ) |
|
std::vector< Cpid2kWorkerInfo > cpid::Cpid2kGlobalState::peers |
( |
std::string_view |
role | ) |
|
Provides information about peers, filtered by role.
std::string_view cpid::Cpid2kGlobalState::prefix |
( |
| ) |
const |
|
inline |
std::vector< std::string > cpid::Cpid2kGlobalState::serviceEndpoints |
( |
std::string const & |
serviceName | ) |
|
void cpid::Cpid2kGlobalState::update |
( |
RedisClient & |
client | ) |
|
The documentation for this class was generated from the following files: