Apache Mesos
Public Member Functions | List of all members
mesos::internal::slave::LoadQoSController Class Reference

#include <load.hpp>

Inheritance diagram for mesos::internal::slave::LoadQoSController:
mesos::slave::QoSController

Public Member Functions

 LoadQoSController (const Option< double > &_loadThreshold5Min, const Option< double > &_loadThreshold15Min, const lambda::function< Try< os::Load >()> &_loadAverage=[](){return os::loadavg();})
 
 ~LoadQoSController () override
 
Try< Nothinginitialize (const lambda::function< process::Future< ResourceUsage >()> &usage) override
 
process::Future< std::list< mesos::slave::QoSCorrection > > corrections () override
 
- Public Member Functions inherited from mesos::slave::QoSController
virtual ~QoSController ()
 

Additional Inherited Members

- Static Public Member Functions inherited from mesos::slave::QoSController
static Try< QoSController * > create (const Option< std::string > &type)
 

Constructor & Destructor Documentation

mesos::internal::slave::LoadQoSController::LoadQoSController ( const Option< double > &  _loadThreshold5Min,
const Option< double > &  _loadThreshold15Min,
const lambda::function< Try< os::Load >()> &  _loadAverage = [](){ return os::loadavg(); } 
)
inline
mesos::internal::slave::LoadQoSController::~LoadQoSController ( )
override

Member Function Documentation

process::Future<std::list<mesos::slave::QoSCorrection> > mesos::internal::slave::LoadQoSController::corrections ( )
overridevirtual
Try<Nothing> mesos::internal::slave::LoadQoSController::initialize ( const lambda::function< process::Future< ResourceUsage >()> &  usage)
overridevirtual

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