Enum Class TaskQueue.TaskPriority

java.lang.Object
java.lang.Enum<TaskQueue.TaskPriority>
org.eclipse.milo.opcua.stack.core.util.TaskQueue.TaskPriority
All Implemented Interfaces:
Serializable, Comparable<TaskQueue.TaskPriority>, Constable
Enclosing class:
TaskQueue

public static enum TaskQueue.TaskPriority extends Enum<TaskQueue.TaskPriority>
  • Enum Constant Details

    • REGULAR

      public static final TaskQueue.TaskPriority REGULAR
      The default priority for a task. No special treatment.
    • ELEVATED

      public static final TaskQueue.TaskPriority ELEVATED
      Elevated priority for a task. When present in the queue, elevated requests are favored for execution over regular priority tasks, using the configured priority ratio to prevent "starving" the regular priority tasks.
    • CRITICAL

      public static final TaskQueue.TaskPriority CRITICAL
      Critical priority for a task. When present in the queue, always executed ahead of elevated or regular priority tasks. No limit or ratio to prevent "starving" lower priority tasks.
  • Method Details

    • values

      public static TaskQueue.TaskPriority[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TaskQueue.TaskPriority valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null