| 
 | Apache Tomcat 6.0.53 | ||||||||
| 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 | addCount | 
| protected  long[] | addS | 
| protected  boolean | comet | 
| protected  long[] | desc | 
| protected  int | keepAliveCount | 
| protected  long | pool | 
| protected  long | serverPollset | 
| 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)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, 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 | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
protected long serverPollset
protected long pool
protected long[] desc
protected long[] addS
protected volatile int addCount
protected boolean comet
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.Threadpublic void add(long socket)
socket - to add to the pollerpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Thread| 
 | Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||