17 #ifndef __MESOS_MODULE_DETECTOR_HPP__ 18 #define __MESOS_MODULE_DETECTOR_HPP__ 29 inline const char* kind<mesos::master::detector::MasterDetector>()
31 return "MasterDetector";
39 const char* _moduleApiVersion,
40 const char* _mesosVersion,
41 const char* _authorName,
42 const char* _authorEmail,
43 const char* _description,
44 bool (*_compatible)(),
46 (*_create)(
const Parameters& parameters))
58 const Parameters& parameters);
64 #endif // __MESOS_MODULE_DETECTOR_HPP__ Definition: master.hpp:27
Definition: module.hpp:56
Module(const char *_moduleApiVersion, const char *_mesosVersion, const char *_authorName, const char *_authorEmail, const char *_description, bool(*_compatible)(), mesos::master::detector::MasterDetector *(*_create)(const Parameters ¶meters))
Definition: detector.hpp:38
An abstraction of a Master detector which can be used to detect the leading master from a group...
Definition: detector.hpp:38
Try< Nothing > create(const std::string &hierarchy, const std::string &cgroup, bool recursive=false)
Definition: module.hpp:97