17.53. JobPriority

Priority of a job.

enum JobPriority {
  // The job priority is unknown.
  JOB_PRIORITY_UNKNOWN = 0;

  // The job priority is lower than normal.
  // Lower priority jobs are scheduled for execution less frequently than higher priority jobs.
  JOB_PRIORITY_LOWER = 1;

  // The job priority is normal, the default priority for new jobs.
  JOB_PRIORITY_NORMAL = 2;

  // The job priority is higher than normal.
  // Higher priority jobs are scheduled for execution more frequently than lower priority jobs.
  JOB_PRIORITY_HIGHER = 3;

  // Immediate priority jobs are queued in separate queue which must emptied before any other priority jobs can be scheduled.
  JOB_PRIORITY_IMMEDIATE = 4;
}