java.lang.Runnable
protected 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, wait
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, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public AcceptThread(TNonblockingServerTransport serverTransport, TThreadedSelectorServer.SelectorThreadLoadBalancer threadChooser) throws java.io.IOException
java.io.IOException
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void wakeupSelector()