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>
19 lines
247 B
C++
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_ */
|