wt.util
Class ProcessLauncher.TimeoutMonitor
java.lang.Object
java.lang.Thread
wt.util.ProcessLauncher.TimeoutMonitor
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- ProcessLauncher
- private class ProcessLauncher.TimeoutMonitor
- extends Thread
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
RUNNING
private static final int RUNNING
- See Also:
- Constant Field Values
SHUTDOWN
private static final int SHUTDOWN
- See Also:
- Constant Field Values
INACTIVE
private static final int INACTIVE
- See Also:
- Constant Field Values
TOO_MUCH_TIME
private static final int TOO_MUCH_TIME
- See Also:
- Constant Field Values
overallTimeout_
private long overallTimeout_
inactivityTimeout_
private long inactivityTimeout_
state_
private int state_
overallDeadline_
private long overallDeadline_
inactivityDeadline_
private long inactivityDeadline_
ProcessLauncher.TimeoutMonitor
ProcessLauncher.TimeoutMonitor(long inactivity_timeout,
long overall_timeout)
getOverallTimeout
public long getOverallTimeout()
getInactivityTimeout
public long getInactivityTimeout()
shutdown
public void shutdown()
resetInactivityDeadline
public void resetInactivityDeadline()
timedOut
public boolean timedOut()
timedOutFromInactivity
public boolean timedOutFromInactivity()
timedOutBecauseTookTooLong
public boolean timedOutBecauseTookTooLong()
run
public void run()