Enum Attribute

    • Enum Constant Detail

      • UNKNOWN

        public static final Attribute UNKNOWN
      • ALLOW_CORE_TIMEOUT

        public static final Attribute ALLOW_CORE_TIMEOUT
      • BLOCKING

        public static final Attribute BLOCKING
      • CORE_THREADS

        public static final Attribute CORE_THREADS
      • GROUP_NAME

        public static final Attribute GROUP_NAME
      • MAX_THREADS

        public static final Attribute MAX_THREADS
      • PER_CPU

        public static final Attribute PER_CPU
      • PRIORITY

        public static final Attribute PRIORITY
      • QUEUE_LENGTH

        public static final Attribute QUEUE_LENGTH
      • THREAD_NAME_PATTERN

        public static final Attribute THREAD_NAME_PATTERN
    • Method Detail

      • values

        public static Attribute[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Attribute c : Attribute.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Attribute valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • getLocalName

        public String getLocalName()
        Get the local name of this attribute.
        Returns:
        the local name