Class JVMRuntimeStatsProvider


  • @AMXMetadata(type="runtime-mon",
                 group="monitoring")
    @ManagedObject
    @Description("JVM Runtime Statistics")
    public class JVMRuntimeStatsProvider
    extends Object
    Class providing the MBean for JVM runtime statistics

    The MBean will be of the format amx:pp=/mon/server-mon[server],type=runtime-mon,name=jvm/runtime and can be enabled by turning the Jvm monitoring level in the admin console to LOW

    Since:
    v2
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.glassfish.external.statistics.StringStatistic getBootClassPath()
      Gets the boot class path that is used by the bootstrap class loader to search for class files
      org.glassfish.external.statistics.StringStatistic getClassPath()
      Gets the Java class path that is used by the system class loader to search for class files
      org.glassfish.external.statistics.StringStatistic getInputArguments()
      Gets the input arguments passed to the Java virtual machine.
      org.glassfish.external.statistics.StringStatistic getLibraryPath()
      Gets the Java library path
      org.glassfish.external.statistics.StringStatistic getManagementSpecVersion()
      Gets the version of the specification for the management interface implemented by the running Java virtual machine
      org.glassfish.external.statistics.StringStatistic getRuntimeName()
      Gets the name representing the running Java virtual machine
      org.glassfish.external.statistics.StringStatistic getSpecName()
      Gets the Java virtual machine specification name
      org.glassfish.external.statistics.StringStatistic getSpecVendor()
      Gets the Java virtual machine specification vendor
      org.glassfish.external.statistics.StringStatistic getSpecVersion()
      Gets the Java virtual machine specification version
      org.glassfish.external.statistics.CountStatistic getUptime()
      Gets the uptime of the Java virtual machine
      org.glassfish.external.statistics.StringStatistic getVmName()
      Gets the Java virtual machine implementation name
      org.glassfish.external.statistics.StringStatistic getVmVendor()
      Gets the Java virtual machine implementation vendor
      org.glassfish.external.statistics.StringStatistic getVmVersion()
      Gets the Java virtual machine implementation version
    • Constructor Detail

      • JVMRuntimeStatsProvider

        public JVMRuntimeStatsProvider()
    • Method Detail

      • getBootClassPath

        @ManagedAttribute(id="bootclasspath-current")
        @Description("boot class path that is used by the bootstrap class loader to search for class files")
        public org.glassfish.external.statistics.StringStatistic getBootClassPath()
        Gets the boot class path that is used by the bootstrap class loader to search for class files
        Returns:
        a StringStatistic with the boot classpath
      • getClassPath

        @ManagedAttribute(id="classpath-current")
        @Description("Java class path that is used by the system class loader to search for class files")
        public org.glassfish.external.statistics.StringStatistic getClassPath()
        Gets the Java class path that is used by the system class loader to search for class files
        Returns:
        a StringStatistic with the system classpath
      • getInputArguments

        @ManagedAttribute(id="inputarguments-current")
        @Description("input arguments passed to the Java virtual machine which does not include the arguments to the main method")
        public org.glassfish.external.statistics.StringStatistic getInputArguments()
        Gets the input arguments passed to the Java virtual machine.
        Returns:
        a StringStatistic with a comma separated list of input arguments. This does not include arguments to the main method.
      • getLibraryPath

        @ManagedAttribute(id="librarypath-current")
        @Description("Java library path")
        public org.glassfish.external.statistics.StringStatistic getLibraryPath()
        Gets the Java library path
        Returns:
        a StringStatistic with the lib path
      • getManagementSpecVersion

        @ManagedAttribute(id="managementspecversion-current")
        @Description("version of the specification for the management interface implemented by the running Java virtual machine")
        public org.glassfish.external.statistics.StringStatistic getManagementSpecVersion()
        Gets the version of the specification for the management interface implemented by the running Java virtual machine
        Returns:
        a StringStatistic with the specification version. This is version 1.2 in Payara.
      • getRuntimeName

        @ManagedAttribute(id="name-current")
        @Description("name representing the running Java virtual machine")
        public org.glassfish.external.statistics.StringStatistic getRuntimeName()
        Gets the name representing the running Java virtual machine
        Returns:
        a StringStatistic with the name of the machine
      • getSpecName

        @ManagedAttribute(id="specname-current")
        @Description("Java virtual machine specification name")
        public org.glassfish.external.statistics.StringStatistic getSpecName()
        Gets the Java virtual machine specification name
        Returns:
        a StringStatistic with the name of the specification. This is normally Java Virtual Machine Specification
      • getSpecVendor

        @ManagedAttribute(id="specvendor-current")
        @Description("Java virtual machine specification vendor")
        public org.glassfish.external.statistics.StringStatistic getSpecVendor()
        Gets the Java virtual machine specification vendor
        Returns:
        a StringStatistic with the name of the vendor
      • getSpecVersion

        @ManagedAttribute(id="specversion-current")
        @Description("Java virtual machine specification version")
        public org.glassfish.external.statistics.StringStatistic getSpecVersion()
        Gets the Java virtual machine specification version
        Returns:
        a StringStatistic with the specification version
      • getUptime

        @ManagedAttribute(id="uptime-count")
        @Description("uptime of the Java virtual machine in milliseconds")
        public org.glassfish.external.statistics.CountStatistic getUptime()
        Gets the uptime of the Java virtual machine
        Returns:
        a CountStatistic with the uptime in milliseconds
      • getVmName

        @ManagedAttribute(id="vmname-current")
        @Description("Java virtual machine implementation name")
        public org.glassfish.external.statistics.StringStatistic getVmName()
        Gets the Java virtual machine implementation name
        Returns:
        a StringStatistic with the implementation name
      • getVmVendor

        @ManagedAttribute(id="vmvendor-current")
        @Description("Java virtual machine implementation vendor")
        public org.glassfish.external.statistics.StringStatistic getVmVendor()
        Gets the Java virtual machine implementation vendor
        Returns:
        a StringStatistic with the name of the vendor
      • getVmVersion

        @ManagedAttribute(id="vmversion-current")
        @Description("Java virtual machine implementation version")
        public org.glassfish.external.statistics.StringStatistic getVmVersion()
        Gets the Java virtual machine implementation version
        Returns:
        a StringStatistic with the implementation version