|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.management.server.AbstractManagedObject
com.caucho.network.listen.SocketLinkAdmin
@Module public class SocketLinkAdmin
| Constructor Summary | |
|---|---|
SocketLinkAdmin(TcpSocketLinkListener port)
|
|
| Method Summary | |
|---|---|
TcpConnectionInfo[] |
connectionInfo()
returns information for all the port's connections |
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 |
getKeepaliveThreadTimeout()
Returns the timeout for a keepalive using its own thread before going to the select. |
long |
getKeepaliveTimeout()
Returns the timeout for a keepalive connection |
java.lang.String |
getName()
The JMX name property of the mbean. |
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. |
int |
getThreadStartCount()
Returns the current number of threads that are starting and waiting to service requests. |
long |
getWriteBytesTotal()
Returns the total number of bytes that requests serviced by this port have written. |
boolean |
isJniEnabled()
Returns true if JNI is enabled |
boolean |
isSSL()
|
boolean |
isTcpKeepalive()
Returns true if tcp-keepalive is enabled. |
boolean |
isTcpNoDelay()
Returns true if tcp-no-delay is enabled. |
void |
start()
Enable the port, letting it listening to new requests. |
void |
stop()
Disable the port, stopping it from listening to new requests. |
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.management.server.AbstractManagedObject |
|---|
addObjectNameProperties, getObjectName, getType, registerSelf, unregisterSelf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean |
|---|
getObjectName, getType |
| Constructor Detail |
|---|
public SocketLinkAdmin(TcpSocketLinkListener port)
| Method Detail |
|---|
public java.lang.String getName()
AbstractManagedObject
getName in interface ManagedObjectMXBeangetName in class AbstractManagedObjectpublic java.lang.String getProtocolName()
PortMXBean
getProtocolName in interface PortMXBeanpublic java.lang.String getAddress()
PortMXBean
getAddress in interface PortMXBeanpublic int getPort()
PortMXBean
getPort in interface PortMXBeanpublic boolean isSSL()
isSSL in interface PortMXBeanpublic int getAcceptThreadMin()
PortMXBean
getAcceptThreadMin in interface PortMXBeanpublic int getAcceptThreadMax()
PortMXBean
getAcceptThreadMax in interface PortMXBeanpublic int getAcceptListenBacklog()
PortMXBean
getAcceptListenBacklog in interface PortMXBeanpublic int getConnectionMax()
PortMXBean
getConnectionMax in interface PortMXBeanpublic int getKeepaliveMax()
PortMXBean
getKeepaliveMax in interface PortMXBeanpublic int getKeepaliveSelectMax()
PortMXBean
getKeepaliveSelectMax in interface PortMXBeanpublic long getKeepaliveConnectionTimeMax()
PortMXBean
getKeepaliveConnectionTimeMax in interface PortMXBeanpublic long getKeepaliveThreadTimeout()
PortMXBean
getKeepaliveThreadTimeout in interface PortMXBeanpublic long getKeepaliveTimeout()
PortMXBean
getKeepaliveTimeout in interface PortMXBeanpublic long getSocketTimeout()
PortMXBeanSocket.setSoTimeout(int), although the actual
socket connection may be handled in different ways.
getSocketTimeout in interface PortMXBeanpublic boolean isTcpKeepalive()
PortMXBean
isTcpKeepalive in interface PortMXBeanpublic boolean isTcpNoDelay()
PortMXBean
isTcpNoDelay in interface PortMXBeanpublic long getSuspendTimeMax()
PortMXBean
getSuspendTimeMax in interface PortMXBeanpublic java.lang.String getState()
getState in interface PortMXBeanpublic int getThreadCount()
PortMXBean
getThreadCount in interface PortMXBeanpublic int getThreadActiveCount()
PortMXBean
getThreadActiveCount in interface PortMXBeanpublic int getThreadIdleCount()
PortMXBean
getThreadIdleCount in interface PortMXBeanpublic int getThreadStartCount()
PortMXBean
getThreadStartCount in interface PortMXBeanpublic boolean isJniEnabled()
PortMXBean
isJniEnabled in interface PortMXBeanpublic int getKeepaliveCount()
PortMXBean
getKeepaliveCount in interface PortMXBeanpublic int getKeepaliveThreadCount()
PortMXBean
getKeepaliveThreadCount in interface PortMXBeanpublic int getKeepaliveSelectCount()
PortMXBean
getKeepaliveSelectCount in interface PortMXBeanpublic int getCometIdleCount()
PortMXBean
getCometIdleCount in interface PortMXBeanpublic long getRequestCountTotal()
PortMXBean
getRequestCountTotal in interface PortMXBeanpublic long getKeepaliveCountTotal()
PortMXBean
getKeepaliveCountTotal in interface PortMXBeanpublic long getClientDisconnectCountTotal()
PortMXBeanClientDisconnectException.
getClientDisconnectCountTotal in interface PortMXBeanpublic long getRequestTimeTotal()
PortMXBean
getRequestTimeTotal in interface PortMXBeanpublic long getReadBytesTotal()
PortMXBean
getReadBytesTotal in interface PortMXBeanpublic long getWriteBytesTotal()
PortMXBean
getWriteBytesTotal in interface PortMXBeanpublic void start()
start in interface PortMXBeanpublic void stop()
stop in interface PortMXBeanpublic TcpConnectionInfo[] connectionInfo()
connectionInfo in interface PortMXBeanpublic java.lang.String toString()
toString in class AbstractManagedObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||