Interface ServiceJobPreemptionConfiguration.Builder

  • Method Details

    • preemptionRetriesBeforeTermination

      ServiceJobPreemptionConfiguration.Builder preemptionRetriesBeforeTermination(Integer preemptionRetriesBeforeTermination)

      The number of times a service job can be retried after it is preempted. A job will be terminated when preemption retries have been exhausted. If this field is unset, preempted jobs will be requeued an unlimited number of times.

      Parameters:
      preemptionRetriesBeforeTermination - The number of times a service job can be retried after it is preempted. A job will be terminated when preemption retries have been exhausted. If this field is unset, preempted jobs will be requeued an unlimited number of times.
      Returns:
      Returns a reference to this object so that method calls can be chained together.