wrench::ServiceIsDown Class Reference

A "service is down" failure cause. More...

#include <FailureCause.h>

Inheritance diagram for wrench::ServiceIsDown:
wrench::FailureCause

Public Member Functions

 ServiceIsDown (Service *service)
 Constructor. More...
 
ServicegetService ()
 Getter. More...
 
std::string toString () override
 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 "service is down" failure cause.

Constructor & Destructor Documentation

◆ ServiceIsDown()

wrench::ServiceIsDown::ServiceIsDown ( Service service)
explicit

Constructor.

Parameters
servicethe service that was down

Member Function Documentation

◆ getService()

Service * wrench::ServiceIsDown::getService ( )

Getter.

Returns
the service

◆ toString()

std::string wrench::ServiceIsDown::toString ( )
overridevirtual

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