java.lang.Runnable
public 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.Object
public void run()
run
in interface java.lang.Runnable
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.