|
||||||||||
| 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.management.server.AbstractEmitterObject
com.caucho.server.cluster.ServerAdmin
public class ServerAdmin
| Method Summary | |
|---|---|
long |
getClientDisconnectCountTotal()
The total number of connections that have terminated with ClientDisconnectException. |
ClusterMXBean |
getCluster()
Returns the cluster owning this server |
PortMXBean |
getClusterPort()
Returns the cluster port |
double |
getCpuLoadAvg()
Returns the CPU load average. |
java.util.Date |
getCurrentTime()
Returns the current time according to the server. |
java.lang.String |
getId()
Returns the -server id. |
long |
getInvocationCacheHitCountTotal()
Returns the invocation cache hit count. |
long |
getInvocationCacheMissCountTotal()
Returns the invocation cache miss count. |
long |
getKeepaliveCountTotal()
Returns the number of requests that have ended up in the keepalive state for this server in its lifetime. |
java.lang.String |
getName()
The JMX name property of the mbean. |
PortMXBean[] |
getPorts()
Returns the array of ports. |
long |
getRequestCountTotal()
Returns the total number of requests serviced by the server since it started. |
long |
getRequestReadBytesTotal()
Returns the total number of bytes that requests serviced by this server have read. |
long |
getRequestTimeTotal()
Returns the total duration in milliseconds that requests serviced by this server have taken. |
long |
getRequestWriteBytesTotal()
Returns the total number of bytes that requests serviced by this server have written. |
long |
getRuntimeMemory()
Returns the current total amount of memory available for the JVM, in bytes. |
long |
getRuntimeMemoryFree()
Returns the current free amount of memory available for the JVM, in bytes. |
int |
getSelectKeepaliveCount()
Returns the current number of connections that are in the keepalive state and are using select to maintain the connection. |
java.util.Date |
getStartTime()
Returns the last start time. |
java.lang.String |
getState()
The current lifecycle state. |
int |
getThreadActiveCount()
Returns the current number of threads that are servicing requests. |
int |
getThreadKeepaliveCount()
Returns the current number of connections that are in the keepalive state and are using a thread to maintain the connection. |
ThreadPoolMXBean |
getThreadPool()
Returns the server's thread pool administration |
java.lang.String |
getType()
The JMX type of this MBean, defaults to the prefix of the FooMXBean.. |
boolean |
isDetailedStatistics()
Returns true if detailed statistics are being kept. |
boolean |
isSelectManagerEnabled()
Returns true if a AbstractSelectManager is enabled and active |
void |
restart()
Restart this Resin server. |
| Methods inherited from class com.caucho.management.server.AbstractEmitterObject |
|---|
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener |
| Methods inherited from class com.caucho.management.server.AbstractManagedObject |
|---|
addObjectNameProperties, getObjectName, registerSelf, unregisterSelf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean |
|---|
getObjectName |
| Method Detail |
|---|
public java.lang.String getName()
AbstractManagedObject
getName in interface ManagedObjectMXBeangetName in class AbstractManagedObjectpublic java.lang.String getType()
AbstractManagedObject
getType in interface ManagedObjectMXBeangetType in class AbstractManagedObjectpublic java.lang.String getId()
ServerMXBean
getId in interface ServerMXBeanpublic ClusterMXBean getCluster()
getCluster in interface ServerMXBeanpublic PortMXBean[] getPorts()
getPorts in interface ServerMXBeanpublic ThreadPoolMXBean getThreadPool()
getThreadPool in interface ServerMXBeanpublic PortMXBean getClusterPort()
getClusterPort in interface ServerMXBeanpublic boolean isSelectManagerEnabled()
AbstractSelectManager is enabled and active
isSelectManagerEnabled in interface ServerMXBeanpublic boolean isDetailedStatistics()
isDetailedStatistics in interface ServerMXBeanpublic java.lang.String getState()
getState in interface ServerMXBeanpublic java.util.Date getCurrentTime()
getCurrentTime in interface ServerMXBeanpublic java.util.Date getStartTime()
getStartTime in interface ServerMXBeanpublic int getThreadActiveCount()
getThreadActiveCount in interface ServerMXBeanpublic int getThreadKeepaliveCount()
getThreadKeepaliveCount in interface ServerMXBeanpublic int getSelectKeepaliveCount()
getSelectKeepaliveCount in interface ServerMXBeanpublic long getRequestCountTotal()
getRequestCountTotal in interface ServerMXBeanpublic long getKeepaliveCountTotal()
getKeepaliveCountTotal in interface ServerMXBeanpublic long getClientDisconnectCountTotal()
ClientDisconnectException.
getClientDisconnectCountTotal in interface ServerMXBeanpublic long getRequestTimeTotal()
getRequestTimeTotal in interface ServerMXBeanpublic long getRequestReadBytesTotal()
getRequestReadBytesTotal in interface ServerMXBeanpublic long getRequestWriteBytesTotal()
getRequestWriteBytesTotal in interface ServerMXBeanpublic long getInvocationCacheHitCountTotal()
getInvocationCacheHitCountTotal in interface ServerMXBeanpublic long getInvocationCacheMissCountTotal()
getInvocationCacheMissCountTotal in interface ServerMXBeanpublic long getRuntimeMemory()
getRuntimeMemory in interface ServerMXBeanpublic long getRuntimeMemoryFree()
getRuntimeMemoryFree in interface ServerMXBeanpublic double getCpuLoadAvg()
getCpuLoadAvg in interface ServerMXBeanpublic void restart()
restart in interface ServerMXBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||