Module org.jpo
Package org.jpo.cache

Enum Class QUEUE_PRIORITY

java.lang.Object
java.lang.Enum<QUEUE_PRIORITY>
org.jpo.cache.QUEUE_PRIORITY
All Implemented Interfaces:
Serializable, Comparable<QUEUE_PRIORITY>, Constable

public enum QUEUE_PRIORITY extends Enum<QUEUE_PRIORITY>
Priority enum for the Thumbnail Queue. Enums use natural ordering.
  • Enum Constant Details

    • HIGH_PRIORITY

      public static final QUEUE_PRIORITY HIGH_PRIORITY
      Highest queue priority
    • MEDIUM_PRIORITY

      public static final QUEUE_PRIORITY MEDIUM_PRIORITY
      Medium queue priority
    • LOW_PRIORITY

      public static final QUEUE_PRIORITY LOW_PRIORITY
      Lower queue priority
    • LOWEST_PRIORITY

      public static final QUEUE_PRIORITY LOWEST_PRIORITY
      Lowest queue priority
  • Method Details

    • values

      public static QUEUE_PRIORITY[] 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 QUEUE_PRIORITY 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