wrench::NotEnoughResources
-
class NotEnoughResources : public wrench::FailureCause
A “compute service doesn’t have enough cores” failure cause.
Public Functions
Constructor.
- Parameters:
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> getJob()
Getter.
- Returns:
the job
-
std::shared_ptr<Service> getService()
Getter.
- Returns:
the compute service
-
virtual std::string toString() override
Get the human-readable failure message.
- Returns:
the message