org.objectweb.jonas.server
Interface JmxServerMBean

All Known Implementing Classes:
JmxServer

public interface JmxServerMBean

MBean Interface for Server Management MBean type: Standard MBean model: Delegate


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 free 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 range)
          get/set number of measures
 void setRange(java.lang.Integer range)
          get/set for free memory measurement
 void stop()
          Stop server
 

Method Detail

getJonasName

public java.lang.String getJonasName()
Server name
Returns:
String JOnAS server name

getJonasVersion

public java.lang.String getJonasVersion()
Server version
Returns:
String JOnAS server version

getJonasORB

public java.lang.String getJonasORB()
Server ORB
Returns:
String JOnAS server ORB (Jeremie or Rmi)

stop

public void stop()
          throws java.rmi.RemoteException
Stop server

runGC

public void runGC()
           throws java.rmi.RemoteException
run the garbage collector

getCurrentUsedMemory

public java.lang.Long getCurrentUsedMemory()
                                    throws java.rmi.RemoteException
get jvm free memory

getCurrentTotalMemory

public java.lang.Long getCurrentTotalMemory()
                                     throws java.rmi.RemoteException
get jvm total memory

setRange

public void setRange(java.lang.Integer range)
              throws java.rmi.RemoteException
get/set for free memory measurement

getRange

public java.lang.Integer getRange()
                           throws java.rmi.RemoteException

setNumberOfMeasures

public void setNumberOfMeasures(java.lang.Integer range)
                         throws java.rmi.RemoteException
get/set number of measures

getNumberOfMeasures

public java.lang.Integer getNumberOfMeasures()
                                      throws java.rmi.RemoteException

setActivated

public void setActivated(java.lang.Boolean act)
set monitoring activation

getActivated

public java.lang.Boolean getActivated()
get monitoring activation

getMeasuresTable

public java.lang.Long[] getMeasuresTable()
                                  throws java.rmi.RemoteException
get the table of value

getActiveThreadsCount

public int getActiveThreadsCount()
get the number of active threads in the JOnAS server's initial thread group

getActiveGroupCount

public int getActiveGroupCount()
get the estimated number of active groups in the JOnAS server's initial thread group