Package org.jboss.as.threads
Enum Attribute
- java.lang.Object
-
- java.lang.Enum<Attribute>
-
- org.jboss.as.threads.Attribute
-
- All Implemented Interfaces:
Serializable
,Comparable<Attribute>
public enum Attribute extends Enum<Attribute>
- Author:
- David M. Lloyd
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOW_CORE_TIMEOUT
BLOCKING
CORE_THREADS
COUNT
GROUP_NAME
MAX_THREADS
NAME
PER_CPU
PRIORITY
QUEUE_LENGTH
THREAD_NAME_PATTERN
TIME
UNIT
UNKNOWN
VALUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Attribute
forName(String localName)
String
getLocalName()
Get the local name of this attribute.String
toString()
static Attribute
valueOf(String name)
Returns the enum constant of this type with the specified name.static Attribute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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
-
COUNT
public static final Attribute COUNT
-
GROUP_NAME
public static final Attribute GROUP_NAME
-
MAX_THREADS
public static final Attribute MAX_THREADS
-
NAME
public static final Attribute NAME
-
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
-
TIME
public static final Attribute TIME
-
UNIT
public static final Attribute UNIT
-
VALUE
public static final Attribute VALUE
-
-
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 nameNullPointerException
- if the argument is null
-
getLocalName
public String getLocalName()
Get the local name of this attribute.- Returns:
- the local name
-
-