public enum ThreadState extends java.lang.Enum<ThreadState>
| Enum Constant and Description |
|---|
ThreadStateIdle
The thread is idle.
|
ThreadStateInUseForIO
The thread is in use performing reads or writes for Ice
connections.
|
ThreadStateInUseForOther
The thread is performing other internal activities (DNS
lookups, timer callbacks, etc).
|
ThreadStateInUseForUser
The thread is calling user code (servant implementation, AMI
callbacks).
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static ThreadState |
valueOf(int __v) |
static ThreadState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadState ThreadStateIdle
public static final ThreadState ThreadStateInUseForIO
public static final ThreadState ThreadStateInUseForUser
public static final ThreadState ThreadStateInUseForOther
public static ThreadState[] values()
for (ThreadState c : ThreadState.values()) System.out.println(c);
public static ThreadState 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 int value()
public static ThreadState valueOf(int __v)