Cluster status plumbing.

This commit is contained in:
Adam Ierymenko 2015-10-26 12:41:08 -07:00
parent 3ce5ad9e2c
commit 865acfa40f
5 changed files with 160 additions and 0 deletions

View file

@ -192,6 +192,11 @@ public:
*/
void clean(uint64_t now);
/**
* @return Number of 'alive' peers
*/
unsigned long countAlive() const;
/**
* Apply a function or function object to all peers
*