static class IntegrationTestRpcClient.TimeoutThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
(package private) long |
timeout |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
TimeoutThread(long timeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
(package private) static void |
runWithTimeout(Callable<?> callable,
long timeout) |
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, yieldlong timeout
public TimeoutThread(long timeout)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.