Interface EnvironmentData

All Superinterfaces:
HealthCenterData, NotificationBroadcaster, NotificationEmitter
All Known Implementing Classes:
EnvironmentDataImpl

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

    • ENVIRONMENTDATA

      static final String ENVIRONMENTDATA
      Used to get only Environment Data when comparing against NotificationListener.getUserData()
      See Also:
  • Method Details

    • getJavaFullVersion

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

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

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

      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

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

      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

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

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

      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

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

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

      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

      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

      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

      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

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

      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

      String[] getJavaParameters()
      Gets the parameters that are in effect in the running JVM.
      Returns:
      a String array containing any Java parameters.