17 #ifndef __MESOS_SLAVE_QOS_CONTROLLER_HPP__ 18 #define __MESOS_SLAVE_QOS_CONTROLLER_HPP__ 71 #endif // __MESOS_SLAVE_QOS_CONTROLLER_HPP__
virtual Try< Nothing > initialize(const lambda::function< process::Future< ResourceUsage >()> &usage)=0
virtual ~QoSController()
Definition: qos_controller.hpp:52
static Try< QoSController * > create(const Option< std::string > &type)
virtual process::Future< std::list< QoSCorrection > > corrections()=0
Try< ResourceStatistics > usage(pid_t pid, bool mem=true, bool cpus=true)
Try< uint32_t > type(const std::string &path)
Definition: qos_controller.hpp:44
Definition: future.hpp:58