WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | List of all members
wrench::JobTimeout Class Reference

A "job has timed out" failure cause. More...

#include <JobTimeout.h>

Inheritance diagram for wrench::JobTimeout:
wrench::FailureCause

Public Member Functions

 JobTimeout (std::shared_ptr< Job > job)
 Constructor. More...
 
std::shared_ptr< JobgetJob ()
 Getter. More...
 
std::string toString () override
 Get the human-readable failure message. More...
 

Detailed Description

A "job has timed out" failure cause.

Constructor & Destructor Documentation

◆ JobTimeout()

wrench::JobTimeout::JobTimeout ( std::shared_ptr< Job job)

Constructor.

Parameters
jobthe job that has timed out

Member Function Documentation

◆ getJob()

std::shared_ptr< Job > wrench::JobTimeout::getJob ( )

Getter.

Returns
the job

◆ toString()

std::string wrench::JobTimeout::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: