org.apache.tomcat.util.net
public class AprEndpoint.Poller extends java.lang.Object implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
protected int |
addCount |
protected long[] |
addS |
protected boolean |
comet |
protected long[] |
desc |
protected int |
keepAliveCount |
protected long |
pool |
protected long |
serverPollset |
Constructor and Description |
---|
AprEndpoint.Poller(boolean comet) |
Modifier and Type | Method and Description |
---|---|
void |
add(long socket)
Add specified socket and associated pool to the poller.
|
protected 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.
|
protected long serverPollset
protected long pool
protected long[] desc
protected long[] addS
protected int addCount
protected boolean comet
protected int keepAliveCount
public int getKeepAliveCount()
protected void init()
protected void destroy()
public void add(long socket)
socket
- to add to the pollerpublic void run()
run
in interface java.lang.Runnable
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.