#include <job_execution_options.h>
◆ job_execution_options() [1/2]
| ignite::job_execution_options::job_execution_options |
( |
| ) |
|
|
default |
Default constructor.
Default options: priority = 0; max_retries = 0;
◆ job_execution_options() [2/2]
| ignite::job_execution_options::job_execution_options |
( |
std::int32_t | priority, |
|
|
std::int32_t | max_retries ) |
|
inlineexplicit |
Constructor.
- Parameters
-
| priority | Job execution priority. |
| max_retries | Max number of times to retry job execution in case of failure, 0 to not retry. |
◆ get_max_retries()
| std::int32_t ignite::job_execution_options::get_max_retries |
( |
| ) |
const |
|
inlinenodiscard |
Gets the max number of times to retry job execution in case of failure, 0 to not retry.
- Returns
- Max number of times to retry job execution in case of failure, 0 to not retry.
◆ get_priority()
| std::int32_t ignite::job_execution_options::get_priority |
( |
| ) |
const |
|
inlinenodiscard |
Gets the job execution priority.
- Returns
- Job execution priority.
The documentation for this class was generated from the following file: