Package com.attivio.sysstate
Enum DocumentState.ThreadType
- java.lang.Object
-
- java.lang.Enum<DocumentState.ThreadType>
-
- com.attivio.sysstate.DocumentState.ThreadType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DocumentState.ThreadType>
- Enclosing class:
- DocumentState
public static enum DocumentState.ThreadType extends java.lang.Enum<DocumentState.ThreadType>
describes the type of thread that is handling a message or document
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Manager
a manager thread for a specific componentReceiver
a receiver thread (e.g., vm, http, jms) that moves messages from transports to Manager threads.Unknown
not knownWorker
a worker thread from a thread pool, working on behalf of a specific instance
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentState.ThreadType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DocumentState.ThreadType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Worker
public static final DocumentState.ThreadType Worker
a worker thread from a thread pool, working on behalf of a specific instance
-
Manager
public static final DocumentState.ThreadType Manager
a manager thread for a specific component
-
Receiver
public static final DocumentState.ThreadType Receiver
a receiver thread (e.g., vm, http, jms) that moves messages from transports to Manager threads.
-
Unknown
public static final DocumentState.ThreadType Unknown
not known
-
-
Method Detail
-
values
public static DocumentState.ThreadType[] 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 (DocumentState.ThreadType c : DocumentState.ThreadType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentState.ThreadType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-