Apache Mesos
Public Member Functions | List of all members
mesos::SchedulerDriver Class Referenceabstract

#include <scheduler.hpp>

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

Public Member Functions

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

Constructor & Destructor Documentation

virtual mesos::SchedulerDriver::~SchedulerDriver ( )
inlinevirtual

Member Function Documentation

virtual Status mesos::SchedulerDriver::abort ( )
pure virtual

Implemented in mesos::MesosSchedulerDriver.

virtual Status mesos::SchedulerDriver::acceptOffers ( const std::vector< OfferID > &  offerIds,
const std::vector< Offer::Operation > &  operations,
const Filters &  filters = Filters() 
)
pure virtual

Implemented in mesos::MesosSchedulerDriver.

virtual Status mesos::SchedulerDriver::acknowledgeStatusUpdate ( const TaskStatus &  status)
pure virtual

Implemented in mesos::MesosSchedulerDriver.

virtual Status mesos::SchedulerDriver::declineOffer ( const OfferID &  offerId,
const Filters &  filters = Filters() 
)
pure virtual

Implemented in mesos::MesosSchedulerDriver.

virtual Status mesos::SchedulerDriver::join ( )
pure virtual

Implemented in mesos::MesosSchedulerDriver.

virtual Status mesos::SchedulerDriver::killTask ( const TaskID &  taskId)
pure virtual

Implemented in mesos::MesosSchedulerDriver.

virtual Status mesos::SchedulerDriver::launchTasks ( const std::vector< OfferID > &  offerIds,
const std::vector< TaskInfo > &  tasks,
const Filters &  filters = Filters() 
)
pure virtual

Implemented in mesos::MesosSchedulerDriver.

virtual Status mesos::SchedulerDriver::launchTasks ( const OfferID &  offerId,
const std::vector< TaskInfo > &  tasks,
const Filters &  filters = Filters() 
)
pure virtual

Implemented in mesos::MesosSchedulerDriver.

virtual Status mesos::SchedulerDriver::reconcileTasks ( const std::vector< TaskStatus > &  statuses)
pure virtual

Implemented in mesos::MesosSchedulerDriver.

virtual Status mesos::SchedulerDriver::requestResources ( const std::vector< Request > &  requests)
pure virtual

Implemented in mesos::MesosSchedulerDriver.

virtual Status mesos::SchedulerDriver::reviveOffers ( )
pure virtual

Implemented in mesos::MesosSchedulerDriver.

virtual Status mesos::SchedulerDriver::run ( )
pure virtual

Implemented in mesos::MesosSchedulerDriver.

virtual Status mesos::SchedulerDriver::sendFrameworkMessage ( const ExecutorID &  executorId,
const SlaveID &  slaveId,
const std::string &  data 
)
pure virtual

Implemented in mesos::MesosSchedulerDriver.

virtual Status mesos::SchedulerDriver::start ( )
pure virtual

Implemented in mesos::MesosSchedulerDriver.

virtual Status mesos::SchedulerDriver::stop ( bool  failover = false)
pure virtual

Implemented in mesos::MesosSchedulerDriver.

virtual Status mesos::SchedulerDriver::suppressOffers ( )
pure virtual

Implemented in mesos::MesosSchedulerDriver.


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