org.mule.tck
Class TestCaseWatchdog
java.lang.Object
java.lang.Thread
org.mule.tck.TestCaseWatchdog
- All Implemented Interfaces:
- Runnable
public class TestCaseWatchdog
- extends Thread
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, 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 |
threadNumber
protected static final AtomicInteger threadNumber
log
protected final Log log
delay
protected final long delay
unit
protected final TimeUnit unit
handler
protected final TestCaseWatchdogTimeoutHandler handler
timedOut
protected volatile boolean timedOut
TestCaseWatchdog
public TestCaseWatchdog(long delay,
TimeUnit unit,
TestCaseWatchdogTimeoutHandler timeoutHandler)
run
public void run()
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
cancel
public void cancel()
isTimedOut
public boolean isTimedOut()
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.