wrench::StandardJobScheduler Class Referenceabstract

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

#include <StandardJobScheduler.h>

Public Member Functions

 StandardJobScheduler ()
 Constructor.
 
std::shared_ptr< DataMovementManagergetDataMovementManager ()
 Get a reference to the data movement manager to be used by this scheduler (nullptr: none is used) More...
 
std::shared_ptr< JobManagergetJobManager ()
 Get a reference to the job manager to be used by this scheduler (nullptr: none is used) More...
 
virtual void scheduleTasks (const std::set< std::shared_ptr< ComputeService >> &compute_services, const std::vector< WorkflowTask * > &tasks)=0
 A method that schedules tasks (as part of standard jobs), according to whatever decision algorithm it implements, over a set of compute services. More...
 

Detailed Description

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

Member Function Documentation

◆ getDataMovementManager()

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

Get a reference to 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::StandardJobScheduler::getJobManager ( )
inline

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

Returns
a job manager

◆ scheduleTasks()

virtual void wrench::StandardJobScheduler::scheduleTasks ( const std::set< std::shared_ptr< ComputeService >> &  compute_services,
const std::vector< WorkflowTask * > &  tasks 
)
pure virtual

A method that schedules tasks (as part of standard jobs), according to whatever decision algorithm it implements, over a set of compute services.

Parameters
compute_servicesthe set of compute services
tasksthe set of tasks to be executed

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