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 SummaryConstructors
- 
Method SummaryModifier 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- 
Pollerpublic Poller()
 
- 
- 
Method Details- 
getConnectionCountpublic int getConnectionCount()
- 
initprotected void init()Create the poller.
- 
startprotected void start()
- 
stopprotected void stop()
- 
destroyprotected void destroy()Destroy the poller.
- 
toStringDisplays the list of sockets in the pollers.
- 
runpublic 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.
 
-