17 #ifndef __MESOS_MODULE_RESOURCE_ESTIMATOR_HPP__ 18 #define __MESOS_MODULE_RESOURCE_ESTIMATOR_HPP__ 29 inline const char* kind<mesos::slave::ResourceEstimator>()
31 return "ResourceEstimator";
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))
63 #endif // __MESOS_MODULE_RESOURCE_ESTIMATOR_HPP__ Definition: module.hpp:56
Module(const char *_moduleApiVersion, const char *_mesosVersion, const char *_authorName, const char *_authorEmail, const char *_description, bool(*_compatible)(), mesos::slave::ResourceEstimator *(*_create)(const Parameters ¶meters))
Definition: resource_estimator.hpp:38
Definition: resource_estimator.hpp:37
Try< Nothing > create(const std::string &hierarchy, const std::string &cgroup, bool recursive=false)
Definition: module.hpp:97