Uses of Class
java.lang.Thread.State
| Package | Description |
|---|---|
| java.lang | Provides classes that are fundamental to the design of the Java programming language. |
| java.lang.management | Provides the management interfaces for monitoring and management of theJava virtual machine and other components in the Java runtime. |
Uses ofThread.State injava.lang
Methods injava.lang that returnThread.State Modifier and Type Method Description Thread.StateThread. getState()Returns the state of this thread.staticThread.StateThread.State. valueOf(String name)Returns the enum constant of this type with the specified name.staticThread.State[]Thread.State. values()Returns an array containing the constants of this enum type, inthe order they are declared.Uses ofThread.State injava.lang.management
Methods injava.lang.management that returnThread.State Modifier and Type Method Description Thread.StateThreadInfo. getThreadState()Returns the state of the thread associated with thisThreadInfo.