Interface WeightedBalancedSchedulingConfiguration.Builder

  • Method Details

    • priorityWeight

      The weight applied to job priority in the scheduling formula. Higher values give more influence to job priority. A value of 0 means priority is ignored. The default value is 100.0.

      Parameters:
      priorityWeight - The weight applied to job priority in the scheduling formula. Higher values give more influence to job priority. A value of 0 means priority is ignored. The default value is 100.0 .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorWeight

      The weight applied to the number of errors on a job. A negative value means jobs without errors are scheduled first. A value of 0 means errors are ignored. The default value is -10.0.

      Parameters:
      errorWeight - The weight applied to the number of errors on a job. A negative value means jobs without errors are scheduled first. A value of 0 means errors are ignored. The default value is -10.0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • submissionTimeWeight

      WeightedBalancedSchedulingConfiguration.Builder submissionTimeWeight(Double submissionTimeWeight)

      The weight applied to job submission time. A positive value means earlier jobs are scheduled first. A value of 0 means submission time is ignored. The default value is 3.0.

      Parameters:
      submissionTimeWeight - The weight applied to job submission time. A positive value means earlier jobs are scheduled first. A value of 0 means submission time is ignored. The default value is 3.0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • renderingTaskWeight

      WeightedBalancedSchedulingConfiguration.Builder renderingTaskWeight(Double renderingTaskWeight)

      The weight applied to the number of tasks currently rendering on a job. A negative value means jobs that are not already rendering are scheduled next. A value of 0 means the rendering state is ignored. The default value is -100.0.

      Parameters:
      renderingTaskWeight - The weight applied to the number of tasks currently rendering on a job. A negative value means jobs that are not already rendering are scheduled next. A value of 0 means the rendering state is ignored. The default value is -100.0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • renderingTaskBuffer

      WeightedBalancedSchedulingConfiguration.Builder renderingTaskBuffer(Integer renderingTaskBuffer)

      The rendering task buffer is subtracted from the number of rendering tasks before applying the rendering task weight. This creates a stickiness effect where workers prefer to stay with their current job. Higher values make workers stickier. The default value is 1. The buffer is only applied in the weight calculation for a job if the worker is currently assigned to that job.

      Parameters:
      renderingTaskBuffer - The rendering task buffer is subtracted from the number of rendering tasks before applying the rendering task weight. This creates a stickiness effect where workers prefer to stay with their current job. Higher values make workers stickier. The default value is 1. The buffer is only applied in the weight calculation for a job if the worker is currently assigned to that job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxPriorityOverride

      Overrides the weighted scheduling formula for jobs at the maximum priority (100). When set, jobs with priority 100 are always scheduled first regardless of their calculated weight. When absent, maximum priority jobs use the standard weighted formula.

      Parameters:
      maxPriorityOverride - Overrides the weighted scheduling formula for jobs at the maximum priority (100). When set, jobs with priority 100 are always scheduled first regardless of their calculated weight. When absent, maximum priority jobs use the standard weighted formula.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxPriorityOverride

      Overrides the weighted scheduling formula for jobs at the maximum priority (100). When set, jobs with priority 100 are always scheduled first regardless of their calculated weight. When absent, maximum priority jobs use the standard weighted formula.

      This is a convenience method that creates an instance of the SchedulingMaxPriorityOverride.Builder avoiding the need to create one manually via SchedulingMaxPriorityOverride.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to maxPriorityOverride(SchedulingMaxPriorityOverride).

      Parameters:
      maxPriorityOverride - a consumer that will call methods on SchedulingMaxPriorityOverride.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • minPriorityOverride

      Overrides the weighted scheduling formula for jobs at the minimum priority (0). When set, jobs with priority 0 are always scheduled last regardless of their calculated weight. When absent, minimum priority jobs use the standard weighted formula.

      Parameters:
      minPriorityOverride - Overrides the weighted scheduling formula for jobs at the minimum priority (0). When set, jobs with priority 0 are always scheduled last regardless of their calculated weight. When absent, minimum priority jobs use the standard weighted formula.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • minPriorityOverride

      Overrides the weighted scheduling formula for jobs at the minimum priority (0). When set, jobs with priority 0 are always scheduled last regardless of their calculated weight. When absent, minimum priority jobs use the standard weighted formula.

      This is a convenience method that creates an instance of the SchedulingMinPriorityOverride.Builder avoiding the need to create one manually via SchedulingMinPriorityOverride.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to minPriorityOverride(SchedulingMinPriorityOverride).

      Parameters:
      minPriorityOverride - a consumer that will call methods on SchedulingMinPriorityOverride.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: