Files
scylladb/api/failure_detector.hh
Amnon Heiman ba8365d95a Adding the Failure detector API implementation
This series adds the implementation for teh Failure detector API.
After this patch the following APIs will be supported:
/failure_detector/endpoints
/failure_detector/count/endpoint/up
/failure_detector/count/endpoint/down
/failure_detector/phi
POST:/failure_detector/phi
/failure_detector/simple_states
/failure_detector/endpoints/states

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
2015-06-03 19:13:03 +03:00

19 lines
247 B
C++

/*
* Copyright 2015 Cloudius Systems
*/
#ifndef API_FAILURE_DETECTOR_HH_
#define API_FAILURE_DETECTOR_HH_
#include "api.hh"
namespace api {
void set_failure_detector(http_context& ctx, routes& r);
}
#endif /* API_FAILURE_DETECTOR_HH_ */