|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.isti.trinetwatch.controlAgentSim.ProcessWait
public class ProcessWait
Class ProcessWait waits for a running process to terminate.
| Constructor Summary | |
|---|---|
ProcessWait(java.lang.Process tmpProc)
|
|
| Method Summary | |
|---|---|
int |
exitValue()
Used to get the exit value of the process. |
boolean |
hasProcessFinished()
This method is used to poll the thread for the termination status of a running process it was passed at creation. |
void |
run()
Use this method to start the thread. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessWait(java.lang.Process tmpProc)
| Method Detail |
|---|
public boolean hasProcessFinished()
public int exitValue()
public void run()
run in interface java.lang.Runnable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||