Apache Mesos
Public Member Functions | Protected Attributes | List of all members
mesos::MesosSchedulerDriver Class Reference

#include <scheduler.hpp>

Inheritance diagram for mesos::MesosSchedulerDriver:
mesos::SchedulerDriver mesos::internal::tests::TestingMesosSchedulerDriver

Public Member Functions

 MesosSchedulerDriver (Scheduler *scheduler, const FrameworkInfo &framework, const std::string &master)
 
 MesosSchedulerDriver (Scheduler *scheduler, const FrameworkInfo &framework, const std::string &master, const Credential &credential)
 
 MesosSchedulerDriver (Scheduler *scheduler, const FrameworkInfo &framework, const std::string &master, bool implicitAcknowledgements)
 
 MesosSchedulerDriver (Scheduler *scheduler, const FrameworkInfo &framework, const std::string &master, bool implicitAcknowlegements, const Credential &credential)
 
virtual ~MesosSchedulerDriver ()
 
virtual Status start ()
 
virtual Status stop (bool failover=false)
 
virtual Status abort ()
 
virtual Status join ()
 
virtual Status run ()
 
virtual Status requestResources (const std::vector< Request > &requests)
 
virtual Status launchTasks (const OfferID &offerId, const std::vector< TaskInfo > &tasks, const Filters &filters=Filters())
 
virtual Status launchTasks (const std::vector< OfferID > &offerIds, const std::vector< TaskInfo > &tasks, const Filters &filters=Filters())
 
virtual Status killTask (const TaskID &taskId)
 
virtual Status acceptOffers (const std::vector< OfferID > &offerIds, const std::vector< Offer::Operation > &operations, const Filters &filters=Filters())
 
virtual Status declineOffer (const OfferID &offerId, const Filters &filters=Filters())
 
virtual Status reviveOffers ()
 
virtual Status suppressOffers ()
 
virtual Status acknowledgeStatusUpdate (const TaskStatus &status)
 
virtual Status sendFrameworkMessage (const ExecutorID &executorId, const SlaveID &slaveId, const std::string &data)
 
virtual Status reconcileTasks (const std::vector< TaskStatus > &statuses)
 
- Public Member Functions inherited from mesos::SchedulerDriver
virtual ~SchedulerDriver ()
 

Protected Attributes

std::shared_ptr
< master::detector::MasterDetector
detector
 

Constructor & Destructor Documentation

mesos::MesosSchedulerDriver::MesosSchedulerDriver ( Scheduler scheduler,
const FrameworkInfo &  framework,
const std::string &  master 
)
mesos::MesosSchedulerDriver::MesosSchedulerDriver ( Scheduler scheduler,
const FrameworkInfo &  framework,
const std::string &  master,
const Credential &  credential 
)
mesos::MesosSchedulerDriver::MesosSchedulerDriver ( Scheduler scheduler,
const FrameworkInfo &  framework,
const std::string &  master,
bool  implicitAcknowledgements 
)
mesos::MesosSchedulerDriver::MesosSchedulerDriver ( Scheduler scheduler,
const FrameworkInfo &  framework,
const std::string &  master,
bool  implicitAcknowlegements,
const Credential &  credential 
)
virtual mesos::MesosSchedulerDriver::~MesosSchedulerDriver ( )
virtual

Member Function Documentation

virtual Status mesos::MesosSchedulerDriver::abort ( )
virtual
virtual Status mesos::MesosSchedulerDriver::acceptOffers ( const std::vector< OfferID > &  offerIds,
const std::vector< Offer::Operation > &  operations,
const Filters &  filters = Filters() 
)
virtual
virtual Status mesos::MesosSchedulerDriver::acknowledgeStatusUpdate ( const TaskStatus &  status)
virtual
virtual Status mesos::MesosSchedulerDriver::declineOffer ( const OfferID &  offerId,
const Filters &  filters = Filters() 
)
virtual
virtual Status mesos::MesosSchedulerDriver::join ( )
virtual
virtual Status mesos::MesosSchedulerDriver::killTask ( const TaskID &  taskId)
virtual
virtual Status mesos::MesosSchedulerDriver::launchTasks ( const OfferID &  offerId,
const std::vector< TaskInfo > &  tasks,
const Filters &  filters = Filters() 
)
virtual
virtual Status mesos::MesosSchedulerDriver::launchTasks ( const std::vector< OfferID > &  offerIds,
const std::vector< TaskInfo > &  tasks,
const Filters &  filters = Filters() 
)
virtual
virtual Status mesos::MesosSchedulerDriver::reconcileTasks ( const std::vector< TaskStatus > &  statuses)
virtual
virtual Status mesos::MesosSchedulerDriver::requestResources ( const std::vector< Request > &  requests)
virtual
virtual Status mesos::MesosSchedulerDriver::reviveOffers ( )
virtual
virtual Status mesos::MesosSchedulerDriver::run ( )
virtual
virtual Status mesos::MesosSchedulerDriver::sendFrameworkMessage ( const ExecutorID &  executorId,
const SlaveID &  slaveId,
const std::string &  data 
)
virtual
virtual Status mesos::MesosSchedulerDriver::start ( )
virtual
virtual Status mesos::MesosSchedulerDriver::stop ( bool  failover = false)
virtual
virtual Status mesos::MesosSchedulerDriver::suppressOffers ( )
virtual

Member Data Documentation

std::shared_ptr<master::detector::MasterDetector> mesos::MesosSchedulerDriver::detector
protected

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