public class AprEndpoint.Sendfile extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected int |
addCount |
protected ArrayList<AprEndpoint.SendfileData> |
addS |
protected long[] |
desc |
protected long |
pool |
protected int |
sendfileCount |
protected HashMap<Long,AprEndpoint.SendfileData> |
sendfileData |
protected long |
sendfilePollset |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
AprEndpoint.Sendfile() |
Modifier and Type | Method and Description |
---|---|
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.
|
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
protected long sendfilePollset
protected long pool
protected long[] desc
protected HashMap<Long,AprEndpoint.SendfileData> sendfileData
protected volatile int sendfileCount
protected ArrayList<AprEndpoint.SendfileData> addS
protected volatile int addCount
public int getSendfileCount()
protected void init()
public boolean add(AprEndpoint.SendfileData data)
data
- containing the reference to the data which should be sentprotected void remove(AprEndpoint.SendfileData data)
data
- the sendfile data which should be removedCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.