Class JobDefinitionRetryStrategy


  • public final class JobDefinitionRetryStrategy
    extends java.lang.Object
    • Method Detail

      • attempts

        public java.util.Optional<java.lang.Integer> attempts()
        Returns:
        The number of times to move a job to the `RUNNABLE` status. You may specify between `1` and `10` attempts.
      • evaluateOnExits

        public java.util.List<JobDefinitionRetryStrategyEvaluateOnExit> evaluateOnExits()
        Returns:
        The evaluate on exit conditions under which the job should be retried or failed. If this parameter is specified, then the `attempts` parameter must also be specified. You may specify up to 5 configuration blocks.