|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.objectweb.jonas.server.JmxServer
MBean Class for Server Management MBean type: Standard MBean model: Delegate (Server.java)
| Constructor Summary | |
JmxServer(Server server,
java.lang.String serverName,
java.lang.String version,
java.lang.String orb)
constructor |
|
| Method Summary | |
java.lang.Boolean |
getActivated()
get monitoring activation |
int |
getActiveGroupCount()
get the estimated number of active groups in the JOnAS server's initial thread group |
int |
getActiveThreadsCount()
get the number of active threads in the JOnAS server's initial thread group |
java.lang.Long |
getCurrentTotalMemory()
get jvm total memory |
java.lang.Long |
getCurrentUsedMemory()
get jvm used memory |
java.lang.String |
getJonasName()
Server name |
java.lang.String |
getJonasORB()
Server ORB |
java.lang.String |
getJonasVersion()
Server version |
java.lang.Long[] |
getMeasuresTable()
get the table of value |
java.lang.Integer |
getNumberOfMeasures()
|
java.lang.Integer |
getRange()
|
void |
runGC()
run the garbage collector |
void |
setActivated(java.lang.Boolean act)
set monitoring activation |
void |
setNumberOfMeasures(java.lang.Integer nb)
get/set number of measures |
void |
setRange(java.lang.Integer range)
get/set for free memory measurement |
void |
stop()
Stop server (with stopping the JVM) |
void |
timeoutExpired(java.lang.Object arg)
The measures timeout has expired Do not synchronize this method to avoid deadlocks! |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JmxServer(Server server,
java.lang.String serverName,
java.lang.String version,
java.lang.String orb)
| Method Detail |
public java.lang.String getJonasName()
getJonasName in interface JmxServerMBeanpublic java.lang.String getJonasVersion()
getJonasVersion in interface JmxServerMBeanpublic java.lang.String getJonasORB()
getJonasORB in interface JmxServerMBean
public void stop()
throws java.rmi.RemoteException
stop in interface JmxServerMBean
public void runGC()
throws java.rmi.RemoteException
runGC in interface JmxServerMBean
public java.lang.Long getCurrentUsedMemory()
throws java.rmi.RemoteException
getCurrentUsedMemory in interface JmxServerMBean
public java.lang.Long getCurrentTotalMemory()
throws java.rmi.RemoteException
getCurrentTotalMemory in interface JmxServerMBean
public void setRange(java.lang.Integer range)
throws java.rmi.RemoteException
setRange in interface JmxServerMBean
public java.lang.Integer getRange()
throws java.rmi.RemoteException
getRange in interface JmxServerMBean
public void setNumberOfMeasures(java.lang.Integer nb)
throws java.rmi.RemoteException
setNumberOfMeasures in interface JmxServerMBean
public java.lang.Integer getNumberOfMeasures()
throws java.rmi.RemoteException
getNumberOfMeasures in interface JmxServerMBean
public java.lang.Long[] getMeasuresTable()
throws java.rmi.RemoteException
getMeasuresTable in interface JmxServerMBeanpublic void timeoutExpired(java.lang.Object arg)
timeoutExpired in interface TimerEventListenerpublic void setActivated(java.lang.Boolean act)
setActivated in interface JmxServerMBeanpublic java.lang.Boolean getActivated()
getActivated in interface JmxServerMBeanpublic int getActiveThreadsCount()
getActiveThreadsCount in interface JmxServerMBeanpublic int getActiveGroupCount()
getActiveGroupCount in interface JmxServerMBean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||