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 getJonasVersion()
          Server version
 java.lang.Long[] getMeasuresTable()
          get the table of value
 java.lang.Integer getNumberOfMeasures()
           
 java.lang.String getProtocols()
          Protocols supported by this Server
 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

getProtocols

public java.lang.String getProtocols()
Protocols supported by this Server

Returns:
String protocols supported

stop

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

Throws:
java.rmi.RemoteException

runGC

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

Throws:
java.rmi.RemoteException

getCurrentUsedMemory

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

Throws:
java.rmi.RemoteException

getCurrentTotalMemory

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

Throws:
java.rmi.RemoteException

setRange

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

Throws:
java.rmi.RemoteException

getRange

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

setNumberOfMeasures

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

Throws:
java.rmi.RemoteException

getNumberOfMeasures

public java.lang.Integer getNumberOfMeasures()
                                      throws java.rmi.RemoteException
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

Throws:
java.rmi.RemoteException

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