/AWS1/CL_BTCSVCJOBRETRYSTRAG¶
The retry strategy for service jobs. This defines how many times to retry a failed service job and under what conditions. For more information, see Service job retry strategies in the Batch User Guide.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_attempts
TYPE /AWS1/BTCINTEGER
/AWS1/BTCINTEGER
¶
The number of times to move a service job to
RUNNABLE
status. You can specify between 1 and 10 attempts.
Optional arguments:¶
it_evaluateonexit
TYPE /AWS1/CL_BTCSVCJOBEVALONEXIT=>TT_SERVICEJOBEVALONEXITLIST
TT_SERVICEJOBEVALONEXITLIST
¶
Array of
ServiceJobEvaluateOnExit
objects that specify conditions under which the service job should be retried or failed.
Queryable Attributes¶
attempts¶
The number of times to move a service job to
RUNNABLE
status. You can specify between 1 and 10 attempts.
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
ServiceJobEvaluateOnExit
objects that specify conditions under which the service job should be retried or failed.
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 |