wrench::PilotJobScheduler Class Referenceabstract

A (mostly virtual) base class for implementing PilotJob scheduling algorithms to be used by a WMS. More...

#include <PilotJobScheduler.h>

Public Member Functions

 PilotJobScheduler ()
 Constructor.
 
std::shared_ptr< DataMovementManagergetDataMovementManager ()
 Get the data movement manager to be used by this scheduler (nullptr: none is used) More...
 
std::shared_ptr< JobManagergetJobManager ()
 Get the job manager to be used by this scheduler (nullptr: none is used) More...
 
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, over a set of compute services. More...
 
void setDataMovementManager (std::shared_ptr< DataMovementManager > data_movement_manager)
 Set the data movement manager to be used by this scheduler (nullptr: none is used) More...
 
void setJobManager (std::shared_ptr< JobManager > job_manager)
 Set the job manager to be used by this scheduler (nullptr: none is used) More...
 

Detailed Description

A (mostly virtual) base class for implementing PilotJob scheduling algorithms to be used by a WMS.

Member Function Documentation

◆ getDataMovementManager()

std::shared_ptr<DataMovementManager> wrench::PilotJobScheduler::getDataMovementManager ( )
inline

Get the data movement manager to be used by this scheduler (nullptr: none is used)

Returns
a data movement manager

◆ getJobManager()

std::shared_ptr<JobManager> wrench::PilotJobScheduler::getJobManager ( )
inline

Get the job manager to be used by this scheduler (nullptr: none is used)

Returns
a job manager

◆ schedulePilotJobs()

virtual void wrench::PilotJobScheduler::schedulePilotJobs ( const std::set< std::shared_ptr< ComputeService >> &  compute_services)
pure virtual

A method that schedules pilot jobs, according to whatever decision algorithm it implements, over a set of compute services.

Parameters
compute_servicesthe set of compute services

◆ setDataMovementManager()

void wrench::PilotJobScheduler::setDataMovementManager ( std::shared_ptr< DataMovementManager data_movement_manager)
inline

Set the data movement manager to be used by this scheduler (nullptr: none is used)

Parameters
data_movement_managera data movement manager

◆ setJobManager()

void wrench::PilotJobScheduler::setJobManager ( std::shared_ptr< JobManager job_manager)
inline

Set the job manager to be used by this scheduler (nullptr: none is used)

Parameters
job_managera job manager

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