java.lang.Object | ||
↳ | java.lang.Enum <E extends java.lang.Enum <E>> | |
↳ | java.lang.Thread.State |
A representation of a thread's state. A given thread may only be in one state at a time.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Thread.State | BLOCKED | The thread is blocked and waiting for a lock. | |||||||||
Thread.State | NEW | The thread has been created, but has never been started. | |||||||||
Thread.State | RUNNABLE | The thread may be run. | |||||||||
Thread.State | TERMINATED | The thread has been terminated. | |||||||||
Thread.State | TIMED_WAITING | The thread is waiting for a specified amount of time. | |||||||||
Thread.State | WAITING | The thread is waiting. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
||||||||||
|
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
|
|||||||||||
From class
java.lang.Object
|
|||||||||||
From interface
java.lang.Comparable
|
The thread is blocked and waiting for a lock.
The thread has been created, but has never been started.
The thread is waiting for a specified amount of time.