11 #ifndef WRENCH_JOBMANAGERMESSAGE_H
12 #define WRENCH_JOBMANAGERMESSAGE_H
15 #include <wrench/simulation/SimulationMessage.h>
16 #include <wrench/workflow/job/StandardJob.h>
17 #include "wrench/services/compute/ComputeService.h"
18 #include <wrench-dev.h>
60 std::shared_ptr<FailureCause>
cause);
72 std::shared_ptr<FailureCause>
cause;
81 #endif //WRENCH_JOBMANAGERMESSAGE_H
std::string name
The message name.
Definition: SimulationMessage.h:37
std::map< WorkflowTask *, WorkflowTask::State > necessary_state_changes
The necessary task state changes.
Definition: JobManagerMessage.h:49
A message sent by the JobManager to notify some submitter that a StandardJob has completed.
Definition: JobManagerMessage.h:38
Top-level class to describe a message communicated by processes in the simulation.
Definition: SimulationMessage.h:27
StandardJob * job
The job that has failed.
Definition: JobManagerMessage.h:64
std::map< WorkflowTask *, WorkflowTask::State > necessary_state_changes
The task state change that should be made.
Definition: JobManagerMessage.h:68
JobManagerStandardJobFailedMessage(StandardJob *job, std::shared_ptr< ComputeService > compute_service, std::map< WorkflowTask *, WorkflowTask::State > necessary_state_changes, std::set< WorkflowTask * > necessary_failure_count_increments, std::shared_ptr< FailureCause > cause)
Constructor.
Definition: JobManagerMessage.cpp:48
A standard (i.e., non-pilot) workflow job that can be submitted to a ComputeService by a WMS (via a J...
Definition: StandardJob.h:37
StandardJob * job
The job that is done.
Definition: JobManagerMessage.h:45
std::shared_ptr< ComputeService > compute_service
The compute service on which the job has failed.
Definition: JobManagerMessage.h:66
std::shared_ptr< FailureCause > cause
The cause of the failure.
Definition: JobManagerMessage.h:72
Top-level class for messages received/sent by a JobManager.
Definition: JobManagerMessage.h:30
A message sent by the JobManager to notify some submitter that a StandardJob has failed.
Definition: JobManagerMessage.h:55
std::shared_ptr< ComputeService > compute_service
The compute service on which the job ran.
Definition: JobManagerMessage.h:47
JobManagerStandardJobDoneMessage(StandardJob *job, std::shared_ptr< ComputeService > compute_service, std::map< WorkflowTask *, WorkflowTask::State > necessary_state_changes)
Constructor.
Definition: JobManagerMessage.cpp:30
std::set< WorkflowTask * > necessary_failure_count_increments
The tasks whose failure counts need to be incremented.
Definition: JobManagerMessage.h:70
JobManagerMessage(std::string name)
Constructor.
Definition: JobManagerMessage.cpp:19