public static class Runner.MaxTimeTimer extends TimerTask implements Thread.UncaughtExceptionHandler
--max-time option.| Modifier and Type | Method and Description |
|---|---|
static boolean |
isInterruptedByMaxTimeTimer(Thread thread)
Test specified thread is interrupted.
|
void |
run() |
void |
uncaughtException(Thread t,
Throwable e) |
cancel, scheduledExecutionTimepublic static boolean isInterruptedByMaxTimeTimer(Thread thread)
thread - thread object.public void uncaughtException(Thread t, Throwable e)
uncaughtException in interface Thread.UncaughtExceptionHandlerCopyright © 2017. All rights reserved.