Cluster status plumbing.
This commit is contained in:
parent
3ce5ad9e2c
commit
865acfa40f
5 changed files with 160 additions and 0 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue