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

#include <scheduler.hpp>

Inheritance diagram for mesos::Scheduler:
mesos::internal::tests::MockScheduler mesos::python::ProxyScheduler

Public Member Functions

virtual ~Scheduler ()
 
virtual void registered (SchedulerDriver *driver, const FrameworkID &frameworkId, const MasterInfo &masterInfo)=0
 
virtual void reregistered (SchedulerDriver *driver, const MasterInfo &masterInfo)=0
 
virtual void disconnected (SchedulerDriver *driver)=0
 
virtual void resourceOffers (SchedulerDriver *driver, const std::vector< Offer > &offers)=0
 
virtual void offerRescinded (SchedulerDriver *driver, const OfferID &offerId)=0
 
virtual void statusUpdate (SchedulerDriver *driver, const TaskStatus &status)=0
 
virtual void frameworkMessage (SchedulerDriver *driver, const ExecutorID &executorId, const SlaveID &slaveId, const std::string &data)=0
 
virtual void slaveLost (SchedulerDriver *driver, const SlaveID &slaveId)=0
 
virtual void executorLost (SchedulerDriver *driver, const ExecutorID &executorId, const SlaveID &slaveId, int status)=0
 
virtual void error (SchedulerDriver *driver, const std::string &message)=0
 

Constructor & Destructor Documentation

virtual mesos::Scheduler::~Scheduler ( )
inlinevirtual

Member Function Documentation

virtual void mesos::Scheduler::disconnected ( SchedulerDriver driver)
pure virtual
virtual void mesos::Scheduler::error ( SchedulerDriver driver,
const std::string &  message 
)
pure virtual
virtual void mesos::Scheduler::executorLost ( SchedulerDriver driver,
const ExecutorID &  executorId,
const SlaveID &  slaveId,
int  status 
)
pure virtual
virtual void mesos::Scheduler::frameworkMessage ( SchedulerDriver driver,
const ExecutorID &  executorId,
const SlaveID &  slaveId,
const std::string &  data 
)
pure virtual
virtual void mesos::Scheduler::offerRescinded ( SchedulerDriver driver,
const OfferID &  offerId 
)
pure virtual
virtual void mesos::Scheduler::registered ( SchedulerDriver driver,
const FrameworkID &  frameworkId,
const MasterInfo &  masterInfo 
)
pure virtual
virtual void mesos::Scheduler::reregistered ( SchedulerDriver driver,
const MasterInfo &  masterInfo 
)
pure virtual
virtual void mesos::Scheduler::resourceOffers ( SchedulerDriver driver,
const std::vector< Offer > &  offers 
)
pure virtual
virtual void mesos::Scheduler::slaveLost ( SchedulerDriver driver,
const SlaveID &  slaveId 
)
pure virtual
virtual void mesos::Scheduler::statusUpdate ( SchedulerDriver driver,
const TaskStatus &  status 
)
pure virtual

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