NotEnoughResources Class Reference

A "compute service doesn't have enough cores" failure cause. More...

#include <FailureCause.h>

Inheritance diagram for NotEnoughResources:

Public Member Functions

std::shared_ptr< ComputeService > getComputeService ()
 Getter. More...
 
WorkflowJob * getJob ()
 Getter. More...
 
std::string toString ()
 Get the human-readable failure message. More...
 

Detailed Description

A "compute service doesn't have enough cores" failure cause.

Member Function Documentation

◆ getComputeService()

std::shared_ptr< ComputeService > NotEnoughResources::getComputeService ( )

Getter.

Returns
the compute service

◆ getJob()

WorkflowJob * NotEnoughResources::getJob ( )

Getter.

Returns
the job

◆ toString()

std::string NotEnoughResources::toString ( )

Get the human-readable failure message.

Returns
the message

The documentation for this class was generated from the following files:
  • /home/wrench/wrench/include/wrench/workflow/execution_events/FailureCause.h
  • /home/wrench/wrench/src/wrench/workflow/execution_events/FailureCause.cpp