protected class TThreadedSelectorServerWithFix.AcceptThread extends Thread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
AcceptThread(org.apache.thrift.transport.TNonblockingServerTransport serverTransport,
TThreadedSelectorServerWithFix.SelectorThreadLoadBalancer threadChooser)
Set up the AcceptThead
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
The work loop.
|
void |
wakeupSelector()
If the selector is blocked, wake it up.
|
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, yieldpublic AcceptThread(org.apache.thrift.transport.TNonblockingServerTransport serverTransport,
TThreadedSelectorServerWithFix.SelectorThreadLoadBalancer threadChooser)
throws IOException
IOExceptionpublic void run()
public void wakeupSelector()
Copyright © 2018 The Apache Software Foundation. All rights reserved.