com.eurotech.framework.cloud.app.command
Class ProcessMonitorThread
java.lang.Object
java.lang.Thread
com.eurotech.framework.cloud.app.command.ProcessMonitorThread
- All Implemented Interfaces:
- Runnable
public class ProcessMonitorThread
- extends Thread
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
ProcessMonitorThread
public ProcessMonitorThread(Process proc,
String stdin,
int procTout)
getStdout
public String getStdout()
getStderr
public String getStderr()
getExitValue
public Integer getExitValue()
isTimedOut
public boolean isTimedOut()
getException
public Exception getException()
setException
public void setException(Exception exception)
run
public void run()
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
Copyright © 2013. All Rights Reserved.