Mirrors an entry of the failedjobs table in the database. Difference with Job is the addition of a reasonID and reasonData, to indicate a reason for failure.
More...
#include <JobTypes.h>
|
| | FailedJob (Job job, int reasonID, std::string reasonData) |
| | Constructs a failed job given a normal job and the reason. More...
|
| |
|
|
std::string | jobid |
| |
|
long long | time |
| |
|
long long | timeout |
| |
|
long long | priority |
| |
|
std::string | url |
| |
|
int | retries |
| |
|
int | reasonID |
| |
|
std::string | reasonData |
| |
Mirrors an entry of the failedjobs table in the database. Difference with Job is the addition of a reasonID and reasonData, to indicate a reason for failure.
◆ FailedJob()
| jobTypes::FailedJob::FailedJob |
( |
Job |
job, |
|
|
int |
reasonID, |
|
|
std::string |
reasonData |
|
) |
| |
|
inline |
Constructs a failed job given a normal job and the reason.
- Parameters
-
| job | The job this failed job is based on. |
| reasonID | The id of the failure reason. |
| reasonData | The data of the reason. |
The documentation for this struct was generated from the following file: