public class ThreadState extends Object
ThreadState must not be confused with the Java defined states of a
thread such as BLOCKED, PARKED etc.
| Constructor and Description |
|---|
ThreadState() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInstantiated() |
boolean |
isRunning() |
boolean |
isStarted() |
boolean |
isStopped() |
boolean |
isStopping() |
void |
setInstantiated(boolean instantiated) |
void |
setRunning(boolean running) |
void |
setStarted(boolean started) |
void |
setStopped(boolean stopped) |
void |
setStopping(boolean stopping) |
public boolean isInstantiated()
public void setInstantiated(boolean instantiated)
public boolean isStarted()
public void setStarted(boolean started)
public boolean isRunning()
public void setRunning(boolean running)
public boolean isStopping()
public void setStopping(boolean stopping)
public boolean isStopped()
public void setStopped(boolean stopped)
Copyright © 2019. All rights reserved.