|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
org.apache.thrift.server.AbstractNonblockingServer.AbstractSelectThread
org.apache.thrift.server.TNonblockingServer.SelectAcceptThread
protected class TNonblockingServer.SelectAcceptThread
The thread that will be doing all the selecting, managing new connections and those that still need to be read.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class org.apache.thrift.server.AbstractNonblockingServer.AbstractSelectThread |
|---|
selectInterestChanges, selector |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
TNonblockingServer.SelectAcceptThread(TNonblockingServerTransport serverTransport)
Set up the thread that will handle the non-blocking accepts, reads, and writes. |
|
| Method Summary | |
|---|---|
boolean |
isStopped()
|
void |
run()
The work loop. |
| Methods inherited from class org.apache.thrift.server.AbstractNonblockingServer.AbstractSelectThread |
|---|
cleanupSelectionKey, handleRead, handleWrite, processInterestChanges, requestSelectInterestChange, wakeupSelector |
| Methods inherited from class java.lang.Thread |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TNonblockingServer.SelectAcceptThread(TNonblockingServerTransport serverTransport)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public boolean isStopped()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||