10 #ifndef WRENCH_PILOTJOB_H
11 #define WRENCH_PILOTJOB_H
14 #include "wrench/workflow/job/WorkflowJob.h"
15 #include "wrench/services/compute/ComputeService.h"
73 std::shared_ptr<ComputeService> compute_service;
83 #endif //WRENCH_PILOTJOB_H
@ PENDING
Submitted but not running.
Definition: PilotJob.h:38
unsigned long getPriority()
Get the pilot job priority value.
Definition: PilotJob.cpp:38
@ NOT_SUBMITTED
Not submitted yet.
Definition: PilotJob.h:36
A helper daemon (co-located with and explicitly started by a WMS), which is used to handle all job ex...
Definition: JobManager.h:40
@ EXPIRED
Expired due to a time-to-live limit.
Definition: PilotJob.h:42
@ TERMINATED
Terminated by submitter.
Definition: PilotJob.h:46
A workflow (to be executed by a WMS)
Definition: Workflow.h:34
@ RUNNING
Running.
Definition: PilotJob.h:40
Workflow * workflow
The workflow this job belong to.
Definition: WorkflowJob.h:90
Abstraction of a job used for executing tasks in a Workflow.
Definition: WorkflowJob.h:34
State
Pilot job states.
Definition: PilotJob.h:34
@ FAILED
Failed.
Definition: PilotJob.h:44
PilotJob::State getState()
Get the state of the pilot job.
Definition: PilotJob.cpp:30
A pilot (i.e., non-standard) workflow job that can be submitted to a ComputeService by a WMS (via a J...
Definition: PilotJob.h:29
std::shared_ptr< ComputeService > getComputeService()
Get the compute service provided by the (running) pilot job.
Definition: PilotJob.cpp:47
void setComputeService(std::shared_ptr< ComputeService > cs)
Set the compute service on which the pilot job is running.
Definition: PilotJob.cpp:55