java.lang
public
static
final
enum
java.lang.Thread.State
A representation of a thread's state. A given thread may only be in one
state at a time.
Summary
Enum Values
Public Methods
Methods inherited
from class
java.lang.Enum
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Enum Values
public
static
final
Thread.State
BLOCKED
The thread is blocked and waiting for a lock.
The thread has been created, but has never been started.
public
static
final
Thread.State
RUNNABLE
The thread may be run.
public
static
final
Thread.State
TERMINATED
The thread has been terminated.
public
static
final
Thread.State
TIMED_WAITING
The thread is waiting for a specified amount of time.
public
static
final
Thread.State
WAITING
The thread is waiting.
Public Methods
public
static
final
State[]
values()