WRENCH
1.11
Cyberinfrastructure Simulation Workbench
|
Overview | Installation | Getting Started | WRENCH 101 | WRENCH 102 |
A "compute service doesn't have enough cores" failure cause. More...
#include <NotEnoughResources.h>
Public Member Functions | |
NotEnoughResources (std::shared_ptr< Job > job, std::shared_ptr< Service > service) | |
Constructor. More... | |
std::shared_ptr< Job > | getJob () |
Getter. More... | |
std::shared_ptr< Service > | getService () |
Getter. More... | |
std::string | toString () override |
Get the human-readable failure message. More... | |
A "compute service doesn't have enough cores" failure cause.
wrench::NotEnoughResources::NotEnoughResources | ( | std::shared_ptr< Job > | job, |
std::shared_ptr< Service > | service | ||
) |
Constructor.
job | the job that could not be executed (or nullptr if no job was involved) |
service | the compute service that didn't have enough cores or ram |
std::shared_ptr< Job > wrench::NotEnoughResources::getJob | ( | ) |
Getter.
std::shared_ptr< Service > wrench::NotEnoughResources::getService | ( | ) |
Getter.
|
overridevirtual |