com.ibm.retail.si.mgmt
Interface MgmtJVMEnvironmentMBean


public interface MgmtJVMEnvironmentMBean

The purpose of this MBean is to provide specific information regarding the JVM / OS combination that this agent is running within.

The ObjectName of this MBean includes the following attributes, in addition to the SIF attribute of DeviceID:

This management interface includes the following attributes. These attributes are described in more detail in the accessor methods.

The following operations are included in this management interface. These are described in more detail in the corresponding method documentation.

This MBean emits no Notifications

Author:
Paul Ruocchio

Field Summary
static java.lang.String OBJECT_NAME_BASE
           
 
Method Summary
 void executeGC()
          Runs the garbage collector.
 int getActiveThreadCount()
          Returns the number of threads currently active in this JVM.
 java.lang.String[] getActiveThreadNames()
          Returns a list of the names of all of the threads currently active in the JVM.
 int getAvailableProcessors()
          Returns the number of processors that are currently available for use by the JVM.
 java.lang.String getClassPath()
          Returns the Java class path.
 java.lang.String getClassVersion()
          Returns the Java class format version number.
 java.lang.String getEnvSpecName()
          Returns the Java Runtime Environment specification name.
 java.lang.String getEnvSpecVendor()
          Returns the Java Runtime Environment specification vendor.
 java.lang.String getEnvSpecVersion()
          Returns the Java Runtime Environment specification version.
 java.lang.String getExtDirs()
          Returns the Path of extension directory or directories.
 long getFreeMemory()
          Returns the amount of free memory in the Java Virtual Machine.
 java.lang.String getInstallDirectory()
          Returns the Java installation directory.
 java.lang.String getJITCompilerName()
          Returns the Name of JIT compiler to use.
 java.lang.String getLibPath()
          Returns the List of paths to search when loading libraries.
 long getMaxMemory()
          Returns the maximum amount of memory that the Java virtual machine will attempt to use.
 java.lang.String getOSArchitecture()
          Returns the Operating system architecture.
 java.lang.String getOSName()
          Returns the Operating system name.
 java.lang.String getOSVersion()
          Returns the Operating system version.
 java.lang.String getRuntimeVendor()
          Returns the Java Runtime Environment vendor.
 java.lang.String getRuntimeVendorURL()
          Returns the Java vendor URL.
 java.lang.String getRuntimeVersion()
          Returns the Java Runtime Environment version.
 java.lang.String getTmpPath()
          Returns the Default temp file path.
 long getTotalMemory()
          Returns the total amount of memory in the Java virtual machine.
 java.lang.String getVMImplName()
          Returns the Java Virtual Machine implementation name.
 java.lang.String getVMImplVendor()
          Returns the Java Virtual Machine implementation vendor.
 java.lang.String getVMImplVersion()
          Returns the Java Virtual Machine implementation version.
 java.lang.String getVMSpecName()
          Returns the Java Virtual Machine specification name.
 java.lang.String getVMSpecVendor()
          Returns the Java Virtual Machine specification vendor.
 java.lang.String getVMSpecVersion()
          Returns the Java Virtual Machine specification version.
 

Field Detail

OBJECT_NAME_BASE

public static final java.lang.String OBJECT_NAME_BASE
See Also:
Constant Field Values
Method Detail

getAvailableProcessors

public int getAvailableProcessors()
Returns the number of processors that are currently available for use by the JVM.

Returns:
int - the number of processors

getFreeMemory

public long getFreeMemory()
Returns the amount of free memory in the Java Virtual Machine.

Returns:
long

getMaxMemory

public long getMaxMemory()
Returns the maximum amount of memory that the Java virtual machine will attempt to use.

Returns:
long

getTotalMemory

public long getTotalMemory()
Returns the total amount of memory in the Java virtual machine.

Returns:
long

executeGC

public void executeGC()
Runs the garbage collector.


getActiveThreadCount

public int getActiveThreadCount()
Returns the number of threads currently active in this JVM.

Returns:
int

getActiveThreadNames

public java.lang.String[] getActiveThreadNames()
Returns a list of the names of all of the threads currently active in the JVM.

Returns:
String[]

getRuntimeVersion

public java.lang.String getRuntimeVersion()
Returns the Java Runtime Environment version.

Returns:
String

getRuntimeVendor

public java.lang.String getRuntimeVendor()
Returns the Java Runtime Environment vendor.

Returns:
String

getRuntimeVendorURL

public java.lang.String getRuntimeVendorURL()
Returns the Java vendor URL.

Returns:
String

getInstallDirectory

public java.lang.String getInstallDirectory()
Returns the Java installation directory.

Returns:
String

getVMSpecVersion

public java.lang.String getVMSpecVersion()
Returns the Java Virtual Machine specification version.

Returns:
String

getVMSpecVendor

public java.lang.String getVMSpecVendor()
Returns the Java Virtual Machine specification vendor.

Returns:
String

getVMSpecName

public java.lang.String getVMSpecName()
Returns the Java Virtual Machine specification name.

Returns:
String

getVMImplVersion

public java.lang.String getVMImplVersion()
Returns the Java Virtual Machine implementation version.

Returns:
String

getVMImplVendor

public java.lang.String getVMImplVendor()
Returns the Java Virtual Machine implementation vendor.

Returns:
String

getVMImplName

public java.lang.String getVMImplName()
Returns the Java Virtual Machine implementation name.

Returns:
String

getEnvSpecVersion

public java.lang.String getEnvSpecVersion()
Returns the Java Runtime Environment specification version.

Returns:
String

getEnvSpecVendor

public java.lang.String getEnvSpecVendor()
Returns the Java Runtime Environment specification vendor.

Returns:
String

getEnvSpecName

public java.lang.String getEnvSpecName()
Returns the Java Runtime Environment specification name.

Returns:
String

getClassVersion

public java.lang.String getClassVersion()
Returns the Java class format version number.

Returns:
String

getClassPath

public java.lang.String getClassPath()
Returns the Java class path.

Returns:
String

getLibPath

public java.lang.String getLibPath()
Returns the List of paths to search when loading libraries.

Returns:
String

getTmpPath

public java.lang.String getTmpPath()
Returns the Default temp file path.

Returns:
String

getJITCompilerName

public java.lang.String getJITCompilerName()
Returns the Name of JIT compiler to use.

Returns:
String

getExtDirs

public java.lang.String getExtDirs()
Returns the Path of extension directory or directories.

Returns:
String

getOSName

public java.lang.String getOSName()
Returns the Operating system name.

Returns:
String

getOSArchitecture

public java.lang.String getOSArchitecture()
Returns the Operating system architecture.

Returns:
String

getOSVersion

public java.lang.String getOSVersion()
Returns the Operating system version.

Returns:
String


Copyright © 2004 IBM. All Rights Reserved.
Generated: July 19 2004