/AWS1/CL_BTCRETRYSTRATEGY¶
The retry strategy that's associated with a job. For more information, see Automated job retries in the Batch User Guide.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_attempts TYPE /AWS1/BTCINTEGER /AWS1/BTCINTEGER¶
The number of times to move a job to the
RUNNABLEstatus. You can specify between 1 and 10 attempts. If the value ofattemptsis greater than one, the job is retried on failure the same number of attempts as the value.
it_evaluateonexit TYPE /AWS1/CL_BTCEVALUATEONEXIT=>TT_EVALUATEONEXITLIST TT_EVALUATEONEXITLIST¶
Array of up to 5 objects that specify the conditions where jobs are retried or failed. If this parameter is specified, then the
attemptsparameter must also be specified. If none of the listed conditions match, then the job is retried.
Queryable Attributes¶
attempts¶
The number of times to move a job to the
RUNNABLEstatus. You can specify between 1 and 10 attempts. If the value ofattemptsis greater than one, the job is retried on failure the same number of attempts as the value.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ATTEMPTS() |
Getter for ATTEMPTS, with configurable default |
ASK_ATTEMPTS() |
Getter for ATTEMPTS w/ exceptions if field has no value |
HAS_ATTEMPTS() |
Determine if ATTEMPTS has a value |
evaluateOnExit¶
Array of up to 5 objects that specify the conditions where jobs are retried or failed. If this parameter is specified, then the
attemptsparameter must also be specified. If none of the listed conditions match, then the job is retried.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EVALUATEONEXIT() |
Getter for EVALUATEONEXIT, with configurable default |
ASK_EVALUATEONEXIT() |
Getter for EVALUATEONEXIT w/ exceptions if field has no valu |
HAS_EVALUATEONEXIT() |
Determine if EVALUATEONEXIT has a value |