public class UnixProcessChecker extends java.lang.Object implements ProcessChecker
Modifier and Type | Class and Description |
---|---|
static class |
UnixProcessChecker.Factory
Factory for
ProcessChecker for UNIX systems. |
Modifier and Type | Method and Description |
---|---|
void |
checkProcess()
Check the status of the process the process checker was constructed to check.
|
public void checkProcess() throws GenieTimeoutException, org.apache.commons.exec.ExecuteException, java.io.IOException
checkProcess
in interface ProcessChecker
GenieTimeoutException
- When the process has been running longer than its configured timeout periodorg.apache.commons.exec.ExecuteException
- When the check returns a non-successful exit codejava.io.IOException
- For any other problem