public class AprEndpoint.Poller
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
protected int |
keepAliveCount |
Constructor and Description |
---|
AprEndpoint.Poller(boolean comet) |
Modifier and Type | Method and Description |
---|---|
void |
add(long socket,
boolean keepAlive)
Add specified socket and associated pool to the poller.
|
void |
destroy()
Destroy the poller.
|
int |
getKeepAliveCount() |
protected void |
init()
Create the poller.
|
void |
run()
The background thread that listens for incoming TCP/IP connections and
hands them off to an appropriate processor.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public int getKeepAliveCount()
protected void init()
public void destroy()
destroy
in class java.lang.Thread
public void add(long socket, boolean keepAlive)
socket
- to add to the pollerpublic void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.