Example usage for Java org.apache.commons.exec ExecuteWatchdog fields, constructors, methods, implement or subclass
The text is from its open source code.
long | INFINITE_TIMEOUT The marker for an infinite timeout |
boolean | killedProcess Say whether or not the process was killed due to running overtime. |
ExecuteWatchdog(final long timeout) Creates a new watchdog with a given timeout. |
void | checkException() This method will rethrow the exception that was possibly caught during the run of the process. |
void | destroyProcess() Destroys the running process manually. |
boolean | isWatching() Indicates whether or not the watchdog is still monitoring the process. |
void | stop() Stops the watcher. |