public enum ThreadActivityCode extends java.lang.Enum<ThreadActivityCode>
Enum Constant and Description |
---|
ACCEPT |
BLOCKED |
DELETE |
IDLE |
INSERT |
LOCKING |
NATIVE |
RUNNING |
SELECT |
UPDATE |
WAITING |
Modifier and Type | Method and Description |
---|---|
char |
getChar() |
static ThreadActivityCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadActivityCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadActivityCode RUNNING
public static final ThreadActivityCode BLOCKED
public static final ThreadActivityCode NATIVE
public static final ThreadActivityCode LOCKING
public static final ThreadActivityCode WAITING
public static final ThreadActivityCode ACCEPT
public static final ThreadActivityCode SELECT
public static final ThreadActivityCode INSERT
public static final ThreadActivityCode UPDATE
public static final ThreadActivityCode DELETE
public static final ThreadActivityCode IDLE
public static ThreadActivityCode[] values()
for (ThreadActivityCode c : ThreadActivityCode.values()) System.out.println(c);
public static ThreadActivityCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic char getChar()