Uses of Enum Class
java.lang.Thread.State
Packages that useThread.State
Package
Description
Provides classes that are fundamental to the design of the Java programming language.
Provides the management interfaces for monitoring and management of the Java virtual machine and other components in the Java runtime.
Uses ofThread.State injava.lang
Subclasses with type arguments of typeThread.State injava.langMethods injava.lang that returnThread.StateModifier and TypeMethodDescriptionThread.getState()
Returns the state of this thread.staticThread.State
Returns the enum constant of this class with the specified name.staticThread.State[]
Thread.State.values()
Returns an array containing the constants of this enum class, inthe order they are declared.Uses ofThread.State injava.lang.management
Methods injava.lang.management that returnThread.StateModifier and TypeMethodDescriptionThreadInfo.getThreadState()
Returns the state of the thread associated with thisThreadInfo
.