|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.runtime.DefaultGroovyMethods.ProcessRunner
A Runnable which waits for a process to complete together with a notification scheme allowing another thread to wait a maximum number of seconds for the process to complete before killing it.
Field Summary | |
private boolean |
finished
|
(package private) java.lang.Process |
process
|
Constructor Summary | |
DefaultGroovyMethods.ProcessRunner(java.lang.Process process)
|
Method Summary | |
void |
run()
|
void |
waitForOrKill(long millis)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
java.lang.Process process
private boolean finished
Constructor Detail |
public DefaultGroovyMethods.ProcessRunner(java.lang.Process process)
Method Detail |
public void run()
run
in interface java.lang.Runnable
public void waitForOrKill(long millis)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |