WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | Public Attributes | List of all members
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< std::shared_ptr< WorkflowTask >, WorkflowTask::State > necessary_state_changes, std::set< std::shared_ptr< WorkflowTask >> necessary_failure_count_increments, std::shared_ptr< FailureCause > cause)
 Constructor. More...
 
- Public Member Functions inherited from wrench::SimulationMessage
 SimulationMessage (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< std::shared_ptr< WorkflowTask > > necessary_failure_count_increments
 The tasks whose failure counts need to be incremented.
 
std::map< std::shared_ptr< WorkflowTask >, WorkflowTask::Statenecessary_state_changes
 The task1 state change that should be made.
 
- Public Attributes inherited from wrench::SimulationMessage
double payload
 The message name. More...
 

Additional Inherited Members

- Protected Member Functions inherited from wrench::JobManagerMessage
 JobManagerMessage ()
 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< std::shared_ptr< WorkflowTask >, WorkflowTask::State necessary_state_changes,
std::set< std::shared_ptr< 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: