public class JavaThreadState extends Object
| Modifier and Type | Field and Description |
|---|---|
static JavaThreadState |
BLOCKED
Blocked in vm
|
static JavaThreadState |
BLOCKED_TRANS
Corresponding transition state
|
static JavaThreadState |
IN_JAVA
Running in Java or in stub code
|
static JavaThreadState |
IN_JAVA_TRANS
Corresponding transition state (not used, included for completness)
|
static JavaThreadState |
IN_NATIVE
Running in native code
|
static JavaThreadState |
IN_NATIVE_TRANS
Corresponding transition state
|
static JavaThreadState |
IN_VM
Running in VM
|
static JavaThreadState |
IN_VM_TRANS
Corresponding transition state
|
static JavaThreadState |
NEW
Just starting up, i.e., in process of being initialized
|
static JavaThreadState |
NEW_TRANS
Corresponding transition state (not used, included for completness)
|
static JavaThreadState |
UNINITIALIZED
Should never happen (missing initialization)
|
public static final JavaThreadState UNINITIALIZED
public static final JavaThreadState NEW
public static final JavaThreadState NEW_TRANS
public static final JavaThreadState IN_NATIVE
public static final JavaThreadState IN_NATIVE_TRANS
public static final JavaThreadState IN_VM
public static final JavaThreadState IN_VM_TRANS
public static final JavaThreadState IN_JAVA
public static final JavaThreadState IN_JAVA_TRANS
public static final JavaThreadState BLOCKED
public static final JavaThreadState BLOCKED_TRANS
public String toString()
ObjecttoString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())