@InterfaceAudience.Private public class FastPathRpcHandler extends RpcHandler
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
(package private) Deque<FastPathRpcHandler> |
fastPathHandlerStack |
private CallRunner |
loadedCallRunner |
private Semaphore |
semaphore |
abortable, activeHandlerCount, failedHandlerCount, handlerCount, handlerFailureThreshhold, qMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
FastPathRpcHandler(String name,
double handlerFailureThreshhold,
int handlerCount,
BlockingQueue<CallRunner> q,
AtomicInteger activeHandlerCount,
AtomicInteger failedHandlerCount,
Abortable abortable,
Deque<FastPathRpcHandler> fastPathHandlerStack) |
| Modifier and Type | Method and Description |
|---|---|
protected CallRunner |
getCallRunner()
Returns A
CallRunner n |
(package private) boolean |
loadCallRunner(CallRunner cr) |
run, stopRunningactiveCount, 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 Deque<FastPathRpcHandler> fastPathHandlerStack
private CallRunner loadedCallRunner
FastPathRpcHandler(String name, double handlerFailureThreshhold, int handlerCount, BlockingQueue<CallRunner> q, AtomicInteger activeHandlerCount, AtomicInteger failedHandlerCount, Abortable abortable, Deque<FastPathRpcHandler> fastPathHandlerStack)
protected CallRunner getCallRunner() throws InterruptedException
RpcHandlerCallRunner ngetCallRunner in class RpcHandlerInterruptedExceptionboolean loadCallRunner(CallRunner cr)
cr - Task gotten via fastpath.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.