java.lang.Runnablepublic class AprEndpoint.Poller
extends java.lang.Object
implements java.lang.Runnable
| Constructor | Description |
|---|---|
Poller() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
destroy() |
Destroy the poller.
|
int |
getConnectionCount() |
|
protected void |
init() |
Create the poller.
|
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.
|
protected void |
start() |
|
protected void |
stop() |
|
java.lang.String |
toString() |
Displays the list of sockets in the pollers.
|
public int getConnectionCount()
protected void init()
protected void start()
protected void stop()
protected void destroy()
public java.lang.String toString()
toString in class java.lang.Objectpublic void run()
run in interface java.lang.RunnableCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.