|
Apache Tomcat 7.0.22 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
org.apache.tomcat.util.net.AprEndpoint.Poller
public class AprEndpoint.Poller
Poller class.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected int |
keepAliveCount
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
AprEndpoint.Poller(boolean comet)
|
|
| Method Summary | |
|---|---|
void |
add(long socket,
boolean keepAlive)
Add specified socket and associated pool to the poller. |
void |
destroy()
Destroy the poller. |
int |
getKeepAliveCount()
|
protected void |
init()
Create the poller. |
void |
run()
The background thread that listens for incoming TCP/IP connections and hands them off to an appropriate processor. |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, clone, countStackFrames, currentThread, 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 |
| Field Detail |
|---|
protected volatile int keepAliveCount
| Constructor Detail |
|---|
public AprEndpoint.Poller(boolean comet)
| Method Detail |
|---|
public int getKeepAliveCount()
protected void init()
public void destroy()
destroy in class java.lang.Thread
public void add(long socket,
boolean keepAlive)
socket - to add to the pollerpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
|
Apache Tomcat 7.0.22 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||