Package org.apache.tomcat.util.net
Class AprEndpoint.Poller
- java.lang.Object
- 
- org.apache.tomcat.util.net.AprEndpoint.Poller
 
- 
- All Implemented Interfaces:
- java.lang.Runnable
 - Enclosing class:
- AprEndpoint
 
 public class AprEndpoint.Poller extends java.lang.Object implements java.lang.Runnable
- 
- 
Constructor SummaryConstructors Constructor Description Poller()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddestroy()Destroy the poller.intgetConnectionCount()protected 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()java.lang.StringtoString()Displays the list of sockets in the pollers.
 
- 
- 
- 
Method Detail- 
getConnectionCountpublic int getConnectionCount() 
 - 
initprotected void init() Create the poller.
 - 
startprotected void start() 
 - 
stopprotected void stop() 
 - 
destroyprotected void destroy() Destroy the poller.
 - 
toStringpublic java.lang.String toString() Displays the list of sockets in the pollers.- Overrides:
- toStringin class- java.lang.Object
 
 - 
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.- Specified by:
- runin interface- java.lang.Runnable
 
 
- 
 
-