11 #ifndef WRENCH_PILOTJOBSCHEDULER_H
12 #define WRENCH_PILOTJOBSCHEDULER_H
20 class DataMovementManager;
34 this->data_movement_manager =
nullptr;
35 this->job_manager =
nullptr;
56 virtual void schedulePilotJobs(
const std::set<std::shared_ptr<ComputeService>> &compute_services) = 0;
63 return this->data_movement_manager;
71 return this->job_manager;
86 void setDataMovementManager(std::shared_ptr<DataMovementManager> data_movement_manager) {
87 this->data_movement_manager = data_movement_manager;
94 void setJobManager(std::shared_ptr<JobManager> job_manager) {
95 this->job_manager = job_manager;
104 std::shared_ptr<DataMovementManager> data_movement_manager;
105 std::shared_ptr<JobManager> job_manager;
111 #endif //WRENCH_PILOTJOBSCHEDULER_H
virtual void schedulePilotJobs(const std::set< std::shared_ptr< ComputeService >> &compute_services)=0
A method that schedules pilot jobs, according to whatever decision algorithm it implements,...
PilotJobScheduler()
Constructor.
Definition: PilotJobScheduler.h:33
A (mostly virtual) base class for implementing PilotJob scheduling algorithms to be used by a WMS.
Definition: PilotJobScheduler.h:26
std::shared_ptr< JobManager > getJobManager()
Get the job manager to be used by this scheduler (nullptr: none is used)
Definition: PilotJobScheduler.h:70
std::shared_ptr< DataMovementManager > getDataMovementManager()
Get the data movement manager to be used by this scheduler (nullptr: none is used)
Definition: PilotJobScheduler.h:62