|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PortMXBean
Represents a protocol connection. A typical ObjectName for a Port is
resin:type=Port,port=80,address=INADDR_ANY
| Method Summary | |
|---|---|
TcpConnectionInfo[] |
connectionInfo()
Returns the connection info |
int |
getAcceptListenBacklog()
Returns the operating system listen backlog |
int |
getAcceptThreadMax()
Returns the maximum number of accept threads |
int |
getAcceptThreadMin()
Returns the minimum number of accept threads |
java.lang.String |
getAddress()
Returns the ip address or used to bind the port. |
long |
getClientDisconnectCountTotal()
The total number of connections that have terminated with ClientDisconnectException. |
int |
getCometIdleCount()
Returns the current number of comet-socket idle and waiting to service requests. |
int |
getConnectionMax()
Returns the maximum number of active connections allowed for the port. |
long |
getKeepaliveConnectionTimeMax()
Returns the maximum total time for keepalive connections |
int |
getKeepaliveCount()
Returns the current number of connections that are in the keepalive state |
long |
getKeepaliveCountTotal()
Returns the number of requests that have ended up in the keepalive state for this server in it's lifetime. |
int |
getKeepaliveMax()
Returns the maximum number keepalive connections allowed for the port. |
int |
getKeepaliveSelectCount()
Returns the current number of connections that are in the keepalive state and are using select to maintain the connection. |
int |
getKeepaliveSelectMax()
Returns the maximum number of select keepalive connections allowed for the port. |
int |
getKeepaliveThreadCount()
Returns the current number of connections that are in the keepalive state and are using a thread to maintain the connection. |
long |
getKeepaliveTimeout()
Returns the timeout for a keepalive connection |
int |
getPort()
Returns the port number used to bind the port. |
java.lang.String |
getProtocolName()
Returns the port's protocol name. |
long |
getReadBytesTotal()
Returns the total number of bytes that requests serviced by this port have read. |
long |
getRequestCountTotal()
Returns the total number of requests serviced by the server since it started. |
long |
getRequestTimeTotal()
Returns the total duration in milliseconds that requests serviced by this port have taken. |
long |
getSocketTimeout()
Returns the timeout for socket reads when waiting for data from a client. |
java.lang.String |
getState()
|
long |
getSuspendTimeMax()
Returns the suspend/comet time max |
int |
getThreadActiveCount()
Returns the current number of threads that are servicing requests. |
int |
getThreadCount()
Returns the current number of threads that are servicing requests. |
int |
getThreadIdleCount()
Returns the current number of threads that are idle and waiting to service requests. |
long |
getWriteBytesTotal()
Returns the total number of bytes that requests serviced by this port have written. |
boolean |
isSSL()
|
void |
start()
Enables the port, letting it listen to new connections. |
void |
stop()
Disables the port, stopping it from listening to connections. |
| Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean |
|---|
getName, getObjectName, getType |
| Method Detail |
|---|
java.lang.String getAddress()
java.lang.String getProtocolName()
int getPort()
boolean isSSL()
int getAcceptThreadMin()
int getAcceptThreadMax()
int getAcceptListenBacklog()
int getConnectionMax()
int getKeepaliveMax()
int getKeepaliveSelectMax()
long getKeepaliveConnectionTimeMax()
long getKeepaliveTimeout()
@Units(value="milliseconds") long getSocketTimeout()
Socket.setSoTimeout(int), although the actual
socket connection may be handled in different ways.
@Units(value="milliseconds") long getSuspendTimeMax()
java.lang.String getState()
int getThreadCount()
int getThreadActiveCount()
int getThreadIdleCount()
int getKeepaliveCount()
int getKeepaliveThreadCount()
int getKeepaliveSelectCount()
int getCometIdleCount()
long getRequestCountTotal()
long getKeepaliveCountTotal()
long getClientDisconnectCountTotal()
ClientDisconnectException.
@Units(value="milliseconds") long getRequestTimeTotal()
@Units(value="milliseconds") long getReadBytesTotal()
@Units(value="milliseconds") long getWriteBytesTotal()
void start()
void stop()
TcpConnectionInfo[] connectionInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||