JobSpecification.withPriority(Integer priority) 方法

定义

Set priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. The default value is 0. This priority is used as the default for all jobs under the job schedule. You can update a job's priority after it has been created using by using the update job API.

public JobSpecification withPriority(Integer priority)

参数

priority
Integer

the priority value to set

返回

the JobSpecification object itself.

适用于