public class TcpPool
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.util.logging.Logger |
log |
Constructor and Description |
---|
TcpPool() |
Modifier and Type | Method and Description |
---|---|
void |
addAddress(java.lang.String address)
Adds an address
|
void |
addHost(java.lang.String host)
Adds a host
|
int |
getServerCount() |
void |
init()
Initialize the servlet with the server's sruns.
|
com.caucho.servlets.TcpPool.Server |
nextServer()
Handle the request.
|
void |
setFailRecoverTime(Period period)
Sets the fail recover time.
|
public void addAddress(java.lang.String address)
public void addHost(java.lang.String host)
public void setFailRecoverTime(Period period)
public int getServerCount()
public void init() throws ServletException
ServletException
public com.caucho.servlets.TcpPool.Server nextServer()