17 #ifndef __MESOS_SLAVE_RESOURCE_ESTIMATOR_HPP__ 18 #define __MESOS_SLAVE_RESOURCE_ESTIMATOR_HPP__ 67 #endif // __MESOS_SLAVE_RESOURCE_ESTIMATOR_HPP__
static Try< ResourceEstimator * > create(const Option< std::string > &type)
virtual process::Future< Resources > oversubscribable()=0
Definition: resource_estimator.hpp:37
Try< ResourceStatistics > usage(pid_t pid, bool mem=true, bool cpus=true)
virtual Try< Nothing > initialize(const lambda::function< process::Future< ResourceUsage >()> &usage)=0
Try< uint32_t > type(const std::string &path)
virtual ~ResourceEstimator()
Definition: resource_estimator.hpp:45
Definition: future.hpp:58