|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.servlets.TcpPool
public class TcpPool
TCP connection pool for the HTTP proxy
Field Summary | |
---|---|
protected static java.util.logging.Logger |
log
|
Constructor Summary | |
---|---|
TcpPool()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.util.logging.Logger log
Constructor Detail |
---|
public TcpPool()
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |