|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.caucho.http.admin.TcpServerAdmin
Administers the web server.
Constructor Summary | |
TcpServerAdmin(com.caucho.server.TcpServer server)
Creates a new Admin object. |
Method Summary | |
void |
close()
Close the server. |
int |
getAcceptConnectionCount()
Returns the number of threads sleeping, waiting for a new socket. |
int |
getActiveConnectionCount()
Returns the number of active threads. |
int |
getConnectionCount()
Returns the total number of connections |
int |
getKeepaliveConnectionCount()
Returns the total number of connections waiting for a keepalive. |
boolean |
isClosed()
Returns true if the tcp-server close has started. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TcpServerAdmin(com.caucho.server.TcpServer server)
Method Detail |
public boolean isClosed()
public void close()
close()
exits.public int getConnectionCount()
public int getKeepaliveConnectionCount()
public int getAcceptConnectionCount()
public int getActiveConnectionCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |