org.apache.tomcat.util.net
public class AprEndpoint.Sendfile extends Object implements Runnable
Field Summary | |
---|---|
protected ArrayList<AprEndpoint.SendfileData> | addS |
protected long[] | desc |
protected long | pool |
protected int | sendfileCount |
protected HashMap<Long,AprEndpoint.SendfileData> | sendfileData |
protected long | sendfilePollset |
Method Summary | |
---|---|
boolean | add(AprEndpoint.SendfileData data)
Add the sendfile data to the sendfile poller. |
protected 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. |
Parameters: data containing the reference to the data which should be snet
Returns: true if all the data has been sent right away, and false otherwise
Parameters: data the sendfile data which should be removed