Interface EnvironmentData
- All Superinterfaces:
HealthCenterData,NotificationBroadcaster,NotificationEmitter
- All Known Implementing Classes:
EnvironmentDataImpl
This class provides information about the the operating environment
that the monitored Java application is running in.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringUsed to get only Environment Data when comparing againstNotificationListener.getUserData() -
Method Summary
Modifier and TypeMethodDescriptionString[]Gets the contents of the boot classpath of the monitored application.String[]Gets the contents of the classpath of the monitored application.String[]Gets any dump options that were set by the monitored application.Gets a list of environment variables from the system that is running the monitored application.Gets the date of the Health Center agent library.Gets the Health Center agent version.Gets the host name of the system that is running the monitored application.String[]Gets the command line of the Java application that is being monitored.Gets a String representation of the full Java version for the application being monitored.Gets the value of the JAVA_HOME evironment variable for the monitored application.String[]Gets the parameters that are in effect in the running JVM.Gets the vendor of the Java virtual machine being monitored.Gets the version of the Java virtual machine being monitored.Gets the name of the Java virtual machine being monitored.Gets the operating system of the machine that is running the monitored application.Gets the operating system version of the machine that is running the monitored application.intGets the ID of the Java process being monitored.intGets the number of processors on the machine that is running the monitored application.Gets the architecture of the system that is running the monitored application.Gets a list of system properties from the system that is running the monitored application.Methods inherited from interface com.ibm.java.diagnostics.healthcenter.api.HealthCenterData
getAllRecommendations, getCriticalRecommendations, getHealthyRecommendations, getInformationalRecommendations, getWarningRecommendations, startNotifying, startNotifyingMethods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListenerMethods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
-
Field Details
-
ENVIRONMENTDATA
Used to get only Environment Data when comparing againstNotificationListener.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
nullif 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.
-