This implement the gossipier API. All actions perform on the local
gossiper.
The following functionality is supported:
/gossiper/downtime/{addr}
/gossiper/generation_number/{addr}
/gossiper/assassinate/{addr}
The following are extened API beyond the MBean definition:
/gossiper/endpoint/down
/gossiper/endpoint/live
Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
17 lines
213 B
C++
17 lines
213 B
C++
/*
|
|
* Copyright 2015 Cloudius Systems
|
|
*/
|
|
|
|
#ifndef API_GOSSIPER_HH_
|
|
#define API_GOSSIPER_HH_
|
|
|
|
#include "api.hh"
|
|
|
|
namespace api {
|
|
|
|
void set_gossiper(http_context& ctx, routes& r);
|
|
|
|
}
|
|
|
|
#endif /* API_GOSSIPER_HH_ */
|