public class JavaThreadState
extends java.lang.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)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
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
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.