|
Apache Tomcat 6.0.45 | ||||||||
| 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.Sendfile
public class AprEndpoint.Sendfile
Sendfile 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 java.util.ArrayList<AprEndpoint.SendfileData> |
addS
|
protected long[] |
desc
|
protected long |
pool
|
protected int |
sendfileCount
|
protected java.util.HashMap<java.lang.Long,AprEndpoint.SendfileData> |
sendfileData
|
protected long |
sendfilePollset
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
AprEndpoint.Sendfile()
|
|
| Method Summary | |
|---|---|
boolean |
add(AprEndpoint.SendfileData data)
Add the sendfile data to the sendfile poller. |
void |
destroy()
Destroy the poller. |
int |
getSendfileCount()
|
protected void |
init()
Create the sendfile poller. |
protected void |
remove(AprEndpoint.SendfileData data)
Remove socket from 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 sendfilePollset
protected long pool
protected long[] desc
protected java.util.HashMap<java.lang.Long,AprEndpoint.SendfileData> sendfileData
protected volatile int sendfileCount
protected java.util.ArrayList<AprEndpoint.SendfileData> addS
protected volatile int addCount
| Constructor Detail |
|---|
public AprEndpoint.Sendfile()
| Method Detail |
|---|
public int getSendfileCount()
protected void init()
public void destroy()
destroy in class java.lang.Threadpublic boolean add(AprEndpoint.SendfileData data)
data - containing the reference to the data which should be snet
protected void remove(AprEndpoint.SendfileData data)
data - the sendfile data which should be removedpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
|
Apache Tomcat 6.0.45 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||