class FastPathBalancedQueueRpcExecutor.FastPathHandler extends RpcExecutor.Handler
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
(package private) Deque<FastPathBalancedQueueRpcExecutor.FastPathHandler> |
fastPathHandlerStack |
private CallRunner |
loadedCallRunner |
private Semaphore |
semaphore |
activeHandlerCount, handlerFailureThreshhold, q
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
FastPathHandler(String name,
double handlerFailureThreshhold,
BlockingQueue<CallRunner> q,
AtomicInteger activeHandlerCount,
Deque<FastPathBalancedQueueRpcExecutor.FastPathHandler> fastPathHandlerStack) |
Modifier and Type | Method and Description |
---|---|
protected CallRunner |
getCallRunner() |
(package private) boolean |
loadCallRunner(CallRunner cr) |
run
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, yield
final Deque<FastPathBalancedQueueRpcExecutor.FastPathHandler> fastPathHandlerStack
private CallRunner loadedCallRunner
FastPathHandler(String name, double handlerFailureThreshhold, BlockingQueue<CallRunner> q, AtomicInteger activeHandlerCount, Deque<FastPathBalancedQueueRpcExecutor.FastPathHandler> fastPathHandlerStack)
protected CallRunner getCallRunner() throws InterruptedException
getCallRunner
in class RpcExecutor.Handler
CallRunner
InterruptedException
boolean loadCallRunner(CallRunner cr)
cr
- Task gotten via fastpath.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.