Package org.apache.tomcat.util.net
Class AprEndpoint.Poller
java.lang.Object
org.apache.tomcat.util.net.AprEndpoint.Poller
- All Implemented Interfaces:
Runnable
- Enclosing class:
- AprEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddestroy()Destroy the poller.intprotected voidinit()Create the poller.voidrun()The background thread that adds sockets to the Poller, checks the poller for triggered events and hands the associated socket off to an appropriate processor as events occur.protected voidstart()protected voidstop()toString()Displays the list of sockets in the pollers.
-
Constructor Details
-
Poller
public Poller()
-
-
Method Details
-
getConnectionCount
public int getConnectionCount() -
init
protected void init()Create the poller. -
start
protected void start() -
stop
protected void stop() -
destroy
protected void destroy()Destroy the poller. -
toString
Displays the list of sockets in the pollers. -
run
public void run()The background thread that adds sockets to the Poller, checks the poller for triggered events and hands the associated socket off to an appropriate processor as events occur.
-