|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServerMXBean
Management interface for the server. Each server corresponds to a JVM instance running Resin.
Since exactly on ServerMBean is running at a time it has a unique mbean name,
resin:type=Server
| 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 current 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 it's lifetime. |
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 |
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 interface com.caucho.management.server.ManagedObjectMXBean |
|---|
getName, getObjectName, getType |
| Method Detail |
|---|
java.lang.String getId()
ClusterMXBean getCluster()
PortMXBean[] getPorts()
ThreadPoolMXBean getThreadPool()
PortMXBean getClusterPort()
boolean isSelectManagerEnabled()
AbstractSelectManager is enabled and active
boolean isDetailedStatistics()
java.lang.String getState()
java.util.Date getCurrentTime()
java.util.Date getStartTime()
int getThreadActiveCount()
int getThreadKeepaliveCount()
int getSelectKeepaliveCount()
long getRequestCountTotal()
long getKeepaliveCountTotal()
long getClientDisconnectCountTotal()
ClientDisconnectException.
@Units(value="milliseconds") long getRequestTimeTotal()
@Units(value="bytes") long getRequestReadBytesTotal()
@Units(value="bytes") long getRequestWriteBytesTotal()
long getInvocationCacheHitCountTotal()
long getInvocationCacheMissCountTotal()
@Units(value="bytes") long getRuntimeMemory()
@Units(value="bytes") long getRuntimeMemoryFree()
double getCpuLoadAvg()
void restart()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||