1 *java.lang.Thread.State* *Thread.State* A thread state.
3 public static final class Thread.State
4 extends |java.lang.Enum|
6 |java.lang.Thread.State_Description|
7 |java.lang.Thread.State_Fields|
8 |java.lang.Thread.State_Constructors|
9 |java.lang.Thread.State_Methods|
11 ================================================================================
13 *java.lang.Thread.State_Fields*
14 |java.lang.Thread.State_java.lang.Thread.State.BLOCKED|
15 |java.lang.Thread.State_java.lang.Thread.State.NEW|
16 |java.lang.Thread.State_java.lang.Thread.State.RUNNABLE|
17 |java.lang.Thread.State_java.lang.Thread.State.TERMINATED|
18 |java.lang.Thread.State_java.lang.Thread.State.TIMED_WAITING|
19 |java.lang.Thread.State_java.lang.Thread.State.WAITING|
21 *java.lang.Thread.State_Methods*
22 |java.lang.Thread.State.valueOf(String)|
23 |java.lang.Thread.State.values()|
25 *java.lang.Thread.State_Description*
27 A thread state. A thread can be in one of the following states:
29 (|java.lang.Thread.State|) A thread that has not yet started is in this state.
31 (|java.lang.Thread.State|) A thread executing in the Java virtual machine is in
34 (|java.lang.Thread.State|) A thread that is blocked waiting for a monitor lock
37 (|java.lang.Thread.State|) A thread that is waiting indefinitely for another
38 thread to perform a particular action is in this state.
40 (|java.lang.Thread.State|) A thread that is waiting for another thread to
41 perform an action for up to a specified waiting time is in this state.
43 (|java.lang.Thread.State|) A thread that has exited is in this state.
47 A thread can be in only one state at a given point in time. These states are
48 virtual machine states which do not reflect any operating system thread states.
51 *java.lang.Thread.State_java.lang.Thread.State.BLOCKED*
53 A thread state. A thread can be in one of the following states:
55 (|java.lang.Thread.State|) A thread that has not yet started is in this state.
57 (|java.lang.Thread.State|) A thread executing in the Java virtual machine is in
60 (|java.lang.Thread.State|) A thread that is blocked waiting for a monitor lock
63 (|java.lang.Thread.State|) A thread that is waiting indefinitely for another
64 thread to perform a particular action is in this state.
66 (|java.lang.Thread.State|) A thread that is waiting for another thread to
67 perform an action for up to a specified waiting time is in this state.
69 (|java.lang.Thread.State|) A thread that has exited is in this state.
73 A thread can be in only one state at a given point in time. These states are
74 virtual machine states which do not reflect any operating system thread states.
77 *java.lang.Thread.State_java.lang.Thread.State.NEW*
79 A thread state. A thread can be in one of the following states:
81 (|java.lang.Thread.State|) A thread that has not yet started is in this state.
83 (|java.lang.Thread.State|) A thread executing in the Java virtual machine is in
86 (|java.lang.Thread.State|) A thread that is blocked waiting for a monitor lock
89 (|java.lang.Thread.State|) A thread that is waiting indefinitely for another
90 thread to perform a particular action is in this state.
92 (|java.lang.Thread.State|) A thread that is waiting for another thread to
93 perform an action for up to a specified waiting time is in this state.
95 (|java.lang.Thread.State|) A thread that has exited is in this state.
99 A thread can be in only one state at a given point in time. These states are
100 virtual machine states which do not reflect any operating system thread states.
103 *java.lang.Thread.State_java.lang.Thread.State.RUNNABLE*
105 A thread state. A thread can be in one of the following states:
107 (|java.lang.Thread.State|) A thread that has not yet started is in this state.
109 (|java.lang.Thread.State|) A thread executing in the Java virtual machine is in
112 (|java.lang.Thread.State|) A thread that is blocked waiting for a monitor lock
115 (|java.lang.Thread.State|) A thread that is waiting indefinitely for another
116 thread to perform a particular action is in this state.
118 (|java.lang.Thread.State|) A thread that is waiting for another thread to
119 perform an action for up to a specified waiting time is in this state.
121 (|java.lang.Thread.State|) A thread that has exited is in this state.
125 A thread can be in only one state at a given point in time. These states are
126 virtual machine states which do not reflect any operating system thread states.
129 *java.lang.Thread.State_java.lang.Thread.State.TERMINATED*
131 A thread state. A thread can be in one of the following states:
133 (|java.lang.Thread.State|) A thread that has not yet started is in this state.
135 (|java.lang.Thread.State|) A thread executing in the Java virtual machine is in
138 (|java.lang.Thread.State|) A thread that is blocked waiting for a monitor lock
141 (|java.lang.Thread.State|) A thread that is waiting indefinitely for another
142 thread to perform a particular action is in this state.
144 (|java.lang.Thread.State|) A thread that is waiting for another thread to
145 perform an action for up to a specified waiting time is in this state.
147 (|java.lang.Thread.State|) A thread that has exited is in this state.
151 A thread can be in only one state at a given point in time. These states are
152 virtual machine states which do not reflect any operating system thread states.
155 *java.lang.Thread.State_java.lang.Thread.State.TIMED_WAITING*
157 A thread state. A thread can be in one of the following states:
159 (|java.lang.Thread.State|) A thread that has not yet started is in this state.
161 (|java.lang.Thread.State|) A thread executing in the Java virtual machine is in
164 (|java.lang.Thread.State|) A thread that is blocked waiting for a monitor lock
167 (|java.lang.Thread.State|) A thread that is waiting indefinitely for another
168 thread to perform a particular action is in this state.
170 (|java.lang.Thread.State|) A thread that is waiting for another thread to
171 perform an action for up to a specified waiting time is in this state.
173 (|java.lang.Thread.State|) A thread that has exited is in this state.
177 A thread can be in only one state at a given point in time. These states are
178 virtual machine states which do not reflect any operating system thread states.
181 *java.lang.Thread.State_java.lang.Thread.State.WAITING*
183 A thread state. A thread can be in one of the following states:
185 (|java.lang.Thread.State|) A thread that has not yet started is in this state.
187 (|java.lang.Thread.State|) A thread executing in the Java virtual machine is in
190 (|java.lang.Thread.State|) A thread that is blocked waiting for a monitor lock
193 (|java.lang.Thread.State|) A thread that is waiting indefinitely for another
194 thread to perform a particular action is in this state.
196 (|java.lang.Thread.State|) A thread that is waiting for another thread to
197 perform an action for up to a specified waiting time is in this state.
199 (|java.lang.Thread.State|) A thread that has exited is in this state.
203 A thread can be in only one state at a given point in time. These states are
204 virtual machine states which do not reflect any operating system thread states.
208 *java.lang.Thread.State.valueOf(String)*
210 public static |java.lang.Thread.State| valueOf(java.lang.String name)
215 *java.lang.Thread.State.values()*
217 public static final |java.lang.Thread.State| values()