wrench::JobKilled Class Reference

A "job has been killed" failure cause. More...

#include <FailureCause.h>

Inheritance diagram for wrench::JobKilled:
wrench::FailureCause

Public Member Functions

ComputeServicegetComputeService ()
 Getter. More...
 
WorkflowJobgetJob ()
 Getter. More...
 
std::string toString ()
 Get the human-readable failure message. More...
 
- Public Member Functions inherited from wrench::FailureCause
 FailureCause (CauseType cause)
 Constructor. More...
 
CauseType getCauseType ()
 Retrieve the type of the failure cause. More...
 

Additional Inherited Members

- Public Types inherited from wrench::FailureCause
enum  CauseType {
  FATAL_FAILURE, NO_STORAGE_SERVICE_FOR_FILE, NO_SCRATCH_SPACE, FILE_NOT_FOUND,
  FILE_ALREADY_THERE, FILE_ALREADY_BEING_COPIED, STORAGE_NOT_ENOUGH_SPACE, SERVICE_DOWN,
  JOB_TYPE_NOT_SUPPORTED, NOT_ENOUGH_RESOURCES, NETWORK_ERROR, NETWORK_TIMEOUT,
  JOB_KILLED, JOB_CANNOT_BE_TERMINATED, JOB_CANNOT_BE_FORGOTTEN, COMPUTE_THREAD_HAS_DIED,
  FUNCTIONALITY_NOT_AVAILABLE, JOB_TIMEOUT, HOST_ERROR
}
 Types of failure causes. More...
 

Detailed Description

A "job has been killed" failure cause.

Member Function Documentation

◆ getComputeService()

ComputeService * wrench::JobKilled::getComputeService ( )

Getter.

Returns
the compute service

◆ getJob()

WorkflowJob * wrench::JobKilled::getJob ( )

Getter.

Returns
the job

◆ toString()

std::string wrench::JobKilled::toString ( )
virtual

Get the human-readable failure message.

Returns
the message

Implements wrench::FailureCause.


The documentation for this class was generated from the following files:
  • /Users/rafsilva/Documents/isi/workspace/wrench/wrench/include/wrench/workflow/execution_events/FailureCause.h
  • /Users/rafsilva/Documents/isi/workspace/wrench/wrench/src/wrench/workflow/execution_events/FailureCause.cpp