Java org.apache.commons.exec ExecuteWatchdog fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.exec ExecuteWatchdog fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.exec ExecuteWatchdog.

The text is from its open source code.

Subclass

org.apache.commons.exec.ExecuteWatchdog has subclasses.
Click this link to see all its subclasses.

Field

longINFINITE_TIMEOUT
The marker for an infinite timeout
booleankilledProcess
Say whether or not the process was killed due to running overtime.

Constructor

ExecuteWatchdog(final long timeout)
Creates a new watchdog with a given timeout.

Method

voidcheckException()
This method will rethrow the exception that was possibly caught during the run of the process.
voiddestroyProcess()
Destroys the running process manually.
booleanisWatching()
Indicates whether or not the watchdog is still monitoring the process.
voidstop()
Stops the watcher.