Groovy 1.7.4

org.codehaus.groovy.runtime
[Java] Class DefaultGroovyMethods.ProcessRunner

java.lang.Object
  org.codehaus.groovy.runtime.DefaultGroovyMethods.ProcessRunner
All Implemented Interfaces:
Runnable

protected static class 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.

Since:
1.0


Constructor Summary
DefaultGroovyMethods.ProcessRunner(Process process)

 
Method Summary
void run()

void waitForOrKill(long millis)

 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Constructor Detail

DefaultGroovyMethods.ProcessRunner

public DefaultGroovyMethods.ProcessRunner(Process process)


 
Method Detail

run

public void run()


waitForOrKill

public void waitForOrKill(long millis)


 

Copyright © 2003-2010 The Codehaus. All rights reserved.