wrench::JobManagerStandardJobFailedMessage Class Reference

A message sent by the JobManager to notify some submitter that a StandardJob has failed. More...

#include <JobManagerMessage.h>

Inheritance diagram for wrench::JobManagerStandardJobFailedMessage:
wrench::JobManagerMessage wrench::SimulationMessage

Public Member Functions

 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. More...
 
- Public Member Functions inherited from wrench::SimulationMessage
 SimulationMessage (std::string name, double payload)
 Constructor. More...
 
virtual std::string getName ()
 Retrieve the message name. More...
 

Public Attributes

std::shared_ptr< FailureCausecause
 The cause of the failure.
 
std::shared_ptr< ComputeServicecompute_service
 The compute service on which the job has failed.
 
std::shared_ptr< StandardJobjob
 The job that has failed.
 
std::set< WorkflowTask * > necessary_failure_count_increments
 The tasks whose failure counts need to be incremented.
 
std::map< WorkflowTask *, WorkflowTask::Statenecessary_state_changes
 The task state change that should be made.
 
- Public Attributes inherited from wrench::SimulationMessage
std::string name
 The message name.
 
double payload
 The message size in bytes.
 

Additional Inherited Members

- Protected Member Functions inherited from wrench::JobManagerMessage
 JobManagerMessage (std::string name)
 Constructor. More...
 

Detailed Description

A message sent by the JobManager to notify some submitter that a StandardJob has failed.

Constructor & Destructor Documentation

◆ JobManagerStandardJobFailedMessage()

wrench::JobManagerStandardJobFailedMessage::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.

Parameters
jobthe job that has failed
compute_servicethe ComputeService on which it ran
necessary_state_changesnecessary task state changes
necessary_failure_count_incrementsnecessary task failure count increments
causethe cause of the failure

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