java.lang.Runnableprotected class TThreadedSelectorServer.AcceptThread
extends java.lang.Thread
| Constructor | Description |
|---|---|
AcceptThread(TNonblockingServerTransport serverTransport,
TThreadedSelectorServer.SelectorThreadLoadBalancer threadChooser) |
Set up the AcceptThead
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
run() |
The work loop.
|
void |
wakeupSelector() |
If the selector is blocked, wake it up.
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactiveCount, 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, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic AcceptThread(TNonblockingServerTransport serverTransport, TThreadedSelectorServer.SelectorThreadLoadBalancer threadChooser) throws java.io.IOException
java.io.IOExceptionpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void wakeupSelector()