10 #ifndef WRENCH_JOBMANAGERMESSAGE_H
11 #define WRENCH_JOBMANAGERMESSAGE_H
13 #include <wrench/simulation/SimulationMessage.h>
14 #include "wrench/services/compute/ComputeService.h"
15 #include <wrench/workflow/job/StandardJob.h>
16 #include <wrench-dev.h>
43 std::shared_ptr<StandardJob>
job;
58 std::shared_ptr<FailureCause>
cause);
62 std::shared_ptr<StandardJob>
job;
70 std::shared_ptr<FailureCause>
cause;
79 #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:47
A message sent by the JobManager to notify some submitter that a StandardJob has completed.
Definition: JobManagerMessage.h:36
std::shared_ptr< StandardJob > job
The job that has failed.
Definition: JobManagerMessage.h:62
Top-level class to describe a message communicated by processes in the simulation.
Definition: SimulationMessage.h:27
std::map< WorkflowTask *, WorkflowTask::State > necessary_state_changes
The task state change that should be made.
Definition: JobManagerMessage.h:66
std::shared_ptr< ComputeService > compute_service
The compute service on which the job has failed.
Definition: JobManagerMessage.h:64
std::shared_ptr< FailureCause > cause
The cause of the failure.
Definition: JobManagerMessage.h:70
Top-level class for messages received/sent by a JobManager.
Definition: JobManagerMessage.h:28
A message sent by the JobManager to notify some submitter that a StandardJob has failed.
Definition: JobManagerMessage.h:53
std::shared_ptr< ComputeService > compute_service
The compute service on which the job ran.
Definition: JobManagerMessage.h:45
std::shared_ptr< StandardJob > job
The job that is done.
Definition: JobManagerMessage.h:43
JobManagerStandardJobFailedMessage(std::shared_ptr< 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
JobManagerStandardJobDoneMessage(std::shared_ptr< 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:68
JobManagerMessage(std::string name)
Constructor.
Definition: JobManagerMessage.cpp:19