com.ibm.java.diagnostics.healthcenter.api.environment

Interface EnvironmentData

  • All Superinterfaces:
    HealthCenterData, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter


    public interface EnvironmentData
    extends HealthCenterData
    This class provides information about the the operating environment that the monitored Java application is running in.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String ENVIRONMENTDATA
      Used to get only Environment Data when comparing against NotificationListener.getUserData()
    • Field Detail

      • ENVIRONMENTDATA

        static final java.lang.String ENVIRONMENTDATA
        Used to get only Environment Data when comparing against NotificationListener.getUserData()
        See Also:
        Constant Field Values
    • Method Detail

      • getJavaFullVersion

        java.lang.String getJavaFullVersion()
        Gets a String representation of the full Java version for the application being monitored.
        Returns:
        the full Java version.
      • getHealthCenterAgentLibraryDate

        java.util.Calendar getHealthCenterAgentLibraryDate()
        Gets the date of the Health Center agent library.
        Returns:
        the date representation of the Health Center agent library.
      • getHealthCenterAgentVersion

        java.lang.String getHealthCenterAgentVersion()
        Gets the Health Center agent version.
        Returns:
        the agent version.
      • getJavaHome

        java.lang.String getJavaHome()
        Gets the value of the JAVA_HOME evironment variable for the monitored application.
        Returns:
        the value of JAVA_HOME, or null if not set.
      • getJavaVendor

        java.lang.String getJavaVendor()
        Gets the vendor of the Java virtual machine being monitored.
        Returns:
        the Java vendor.
      • getJavaVirtualMachineName

        java.lang.String getJavaVirtualMachineName()
        Gets the name of the Java virtual machine being monitored.
        Returns:
        the Java virtual machine name.
      • getProcessId

        int getProcessId()
        Gets the ID of the Java process being monitored.
        Returns:
        the ID of the monitored process.
      • getJavaVersion

        java.lang.String getJavaVersion()
        Gets the version of the Java virtual machine being monitored.
        Returns:
        the version of the Java virtual machine.
      • getSystemArchitecture

        java.lang.String getSystemArchitecture()
        Gets the architecture of the system that is running the monitored application.
        Returns:
        the architecture of the monitored system.
      • getHostName

        java.lang.String getHostName()
        Gets the host name of the system that is running the monitored application.
        Returns:
        the host name of the monitored system.
      • getProcessorCount

        int getProcessorCount()
        Gets the number of processors on the machine that is running the monitored application.
        Returns:
        the number of processors.
      • getOperatingSystemName

        java.lang.String getOperatingSystemName()
        Gets the operating system of the machine that is running the monitored application.
        Returns:
        the operating system.
      • getOperatingSystemVersion

        java.lang.String getOperatingSystemVersion()
        Gets the operating system version of the machine that is running the monitored application.
        Returns:
        the operating system version.
      • getSystemProperties

        java.util.Properties getSystemProperties()
        Gets a list of system properties from the system that is running the monitored application.
        Returns:
        a list containing the system properties.
      • getEnvironmentVariables

        java.util.Properties getEnvironmentVariables()
        Gets a list of environment variables from the system that is running the monitored application.
        Returns:
        a list containing the environment variables.
      • getBootClasspath

        java.lang.String[] getBootClasspath()
        Gets the contents of the boot classpath of the monitored application.
        Returns:
        a String array containing values that are set on the boot classpath.
      • getClasspath

        java.lang.String[] getClasspath()
        Gets the contents of the classpath of the monitored application.
        Returns:
        a String array containing values that are set on the classpath.
      • getDumpOptions

        java.lang.String[] getDumpOptions()
        Gets any dump options that were set by the monitored application.
        Returns:
        a String array containing the dump options.
      • getJavaCommandLine

        java.lang.String[] getJavaCommandLine()
        Gets the command line of the Java application that is being monitored.
        Returns:
        a String array containing values from the command line.
      • getJavaParameters

        java.lang.String[] getJavaParameters()
        Gets the parameters that are in effect in the running JVM.
        Returns:
        a String array containing any Java parameters.
© Copyright 2012, 2016 IBM Corporation.