| Modifier and Type | Field and Description |
|---|---|
| public static final ThreadState | ALLOCATED
Memory has been allocated but not initialized |
| public static final ThreadState | BREAKPOINTED
Suspended at breakpoint |
| public static final ThreadState | CONDVAR_WAIT
Waiting on a condition variable |
| public static final ThreadState | INITIALIZED
The thread has been initialized but yet started |
| public static final ThreadState | MONITOR_WAIT
Waiting on a contended monitor lock |
| public static final ThreadState | OBJECT_WAIT
Waiting on an Object.wait() call |
| private String | |
| public static final ThreadState | RUNNABLE
Has been started and is runnable, but not necessarily running |
| public static final ThreadState | SLEEPING
Thread.sleep() |
| public static final ThreadState | ZOMBIE
All done, but not reclaimed yet |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| ALLOCATED | back to summary |
|---|---|
| public static final ThreadState ALLOCATED Memory has been allocated but not initialized | |
| BREAKPOINTED | back to summary |
|---|---|
| public static final ThreadState BREAKPOINTED Suspended at breakpoint | |
| CONDVAR_WAIT | back to summary |
|---|---|
| public static final ThreadState CONDVAR_WAIT Waiting on a condition variable | |
| INITIALIZED | back to summary |
|---|---|
| public static final ThreadState INITIALIZED The thread has been initialized but yet started | |
| MONITOR_WAIT | back to summary |
|---|---|
| public static final ThreadState MONITOR_WAIT Waiting on a contended monitor lock | |
| OBJECT_WAIT | back to summary |
|---|---|
| public static final ThreadState OBJECT_WAIT Waiting on an Object.wait() call | |
| printVal | back to summary |
|---|---|
| private String printVal | |
| RUNNABLE | back to summary |
|---|---|
| public static final ThreadState RUNNABLE Has been started and is runnable, but not necessarily running | |
| SLEEPING | back to summary |
|---|---|
| public static final ThreadState SLEEPING Thread.sleep() | |
| ZOMBIE | back to summary |
|---|---|
| public static final ThreadState ZOMBIE All done, but not reclaimed yet | |
| ThreadState | back to summary |
|---|---|
| private ThreadState(String printVal) | |
| getPrintVal | back to summary |
|---|---|
| public String getPrintVal() | |