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();})
 
virtual ~LoadQoSController ()
 
virtual Try< Nothinginitialize (const lambda::function< process::Future< ResourceUsage >()> &usage)
 
virtual process::Future< std::list< mesos::slave::QoSCorrection > > corrections ()
 
- 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
virtual mesos::internal::slave::LoadQoSController::~LoadQoSController ( )
virtual

Member Function Documentation

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

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