protected class RpcExecutor.Handler extends Thread
CallRunner.run() in.Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
(package private) AtomicInteger |
activeHandlerCount |
(package private) double |
handlerFailureThreshhold |
(package private) BlockingQueue<CallRunner> |
q
Q to find CallRunners to run in.
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
Handler(String name,
double handlerFailureThreshhold,
BlockingQueue<CallRunner> q,
AtomicInteger activeHandlerCount) |
| Modifier and Type | Method and Description |
|---|---|
protected CallRunner |
getCallRunner() |
void |
run() |
private void |
run(CallRunner cr) |
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, yieldfinal BlockingQueue<CallRunner> q
final double handlerFailureThreshhold
final AtomicInteger activeHandlerCount
Handler(String name, double handlerFailureThreshhold, BlockingQueue<CallRunner> q, AtomicInteger activeHandlerCount)
protected CallRunner getCallRunner() throws InterruptedException
CallRunnerInterruptedExceptionprivate void run(CallRunner cr)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.