Interface SchedulerConfiguration.Builder

  • Method Details

    • maxInQueueJobRuns

      SchedulerConfiguration.Builder maxInQueueJobRuns(Integer maxInQueueJobRuns)

      The maximum number of job runs that can be in the PENDING or SUBMITTED state at any time for the virtual cluster. When the queue is full, the service rejects StartJobRun requests with a ValidationException. If you omit this field, the service applies no queue-depth limit.

      Parameters:
      maxInQueueJobRuns - The maximum number of job runs that can be in the PENDING or SUBMITTED state at any time for the virtual cluster. When the queue is full, the service rejects StartJobRun requests with a ValidationException. If you omit this field, the service applies no queue-depth limit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxConcurrentJobRuns

      SchedulerConfiguration.Builder maxConcurrentJobRuns(Integer maxConcurrentJobRuns)

      The maximum number of job runs that can be in the RUNNING state at any time for the virtual cluster. As running slots free up, queued job runs start automatically. If you omit this field, the service applies no concurrency limit.

      Parameters:
      maxConcurrentJobRuns - The maximum number of job runs that can be in the RUNNING state at any time for the virtual cluster. As running slots free up, queued job runs start automatically. If you omit this field, the service applies no concurrency limit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.