Apache Mesos
Public Member Functions | Static Public Member Functions | List of all members
mesos::slave::ResourceEstimator Class Referenceabstract

#include <resource_estimator.hpp>

Inheritance diagram for mesos::slave::ResourceEstimator:
mesos::internal::slave::NoopResourceEstimator mesos::internal::tests::MockResourceEstimator

Public Member Functions

virtual ~ResourceEstimator ()
 
virtual Try< Nothinginitialize (const lambda::function< process::Future< ResourceUsage >()> &usage)=0
 
virtual process::Future
< Resources
oversubscribable ()=0
 

Static Public Member Functions

static Try< ResourceEstimator * > create (const Option< std::string > &type)
 

Constructor & Destructor Documentation

virtual mesos::slave::ResourceEstimator::~ResourceEstimator ( )
inlinevirtual

Member Function Documentation

static Try<ResourceEstimator*> mesos::slave::ResourceEstimator::create ( const Option< std::string > &  type)
static
virtual Try<Nothing> mesos::slave::ResourceEstimator::initialize ( const lambda::function< process::Future< ResourceUsage >()> &  usage)
pure virtual
virtual process::Future<Resources> mesos::slave::ResourceEstimator::oversubscribable ( )
pure virtual

The documentation for this class was generated from the following file: