Enum Class WorkQueue.Task.State

java.lang.Object
java.lang.Enum<WorkQueue.Task.State>
com.google.gerrit.server.git.WorkQueue.Task.State
All Implemented Interfaces:
Serializable, Comparable<WorkQueue.Task.State>, java.lang.constant.Constable
Enclosing class:
WorkQueue.Task<V>

public static enum WorkQueue.Task.State extends Enum<WorkQueue.Task.State>
Summarized status of a single task.

Tasks have the following state flow:

  1. SLEEPING: if scheduled with a non-zero delay.
  2. READY: waiting for an available worker thread.
  3. STARTING: onStart() actively executing on a worker thread.
  4. RUNNING: actively executing on a worker thread.
  5. STOPPING: onStop() actively executing on a worker thread.
  6. DONE: finished executing, if not periodic.