Package org.glassfish.admin.monitor.jvm
Class JVMRuntimeStatsProvider
- java.lang.Object
-
- org.glassfish.admin.monitor.jvm.JVMRuntimeStatsProvider
-
@AMXMetadata(type="runtime-mon", group="monitoring") @ManagedObject @Description("JVM Runtime Statistics") public class JVMRuntimeStatsProvider extends ObjectClass providing the MBean for JVM runtime statisticsThe MBean will be of the format
amx:pp=/mon/server-mon[server],type=runtime-mon,name=jvm/runtimeand can be enabled by turning the Jvm monitoring level in the admin console to LOW- Since:
- v2
-
-
Constructor Summary
Constructors Constructor Description JVMRuntimeStatsProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.glassfish.external.statistics.StringStatisticgetBootClassPath()Gets the boot class path that is used by the bootstrap class loader to search for class filesorg.glassfish.external.statistics.StringStatisticgetClassPath()Gets the Java class path that is used by the system class loader to search for class filesorg.glassfish.external.statistics.StringStatisticgetInputArguments()Gets the input arguments passed to the Java virtual machine.org.glassfish.external.statistics.StringStatisticgetLibraryPath()Gets the Java library pathorg.glassfish.external.statistics.StringStatisticgetManagementSpecVersion()Gets the version of the specification for the management interface implemented by the running Java virtual machineorg.glassfish.external.statistics.StringStatisticgetRuntimeName()Gets the name representing the running Java virtual machineorg.glassfish.external.statistics.StringStatisticgetSpecName()Gets the Java virtual machine specification nameorg.glassfish.external.statistics.StringStatisticgetSpecVendor()Gets the Java virtual machine specification vendororg.glassfish.external.statistics.StringStatisticgetSpecVersion()Gets the Java virtual machine specification versionorg.glassfish.external.statistics.CountStatisticgetUptime()Gets the uptime of the Java virtual machineorg.glassfish.external.statistics.StringStatisticgetVmName()Gets the Java virtual machine implementation nameorg.glassfish.external.statistics.StringStatisticgetVmVendor()Gets the Java virtual machine implementation vendororg.glassfish.external.statistics.StringStatisticgetVmVersion()Gets the Java virtual machine implementation version
-
-
-
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
StringStatisticwith 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
StringStatisticwith 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
StringStatisticwith 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
StringStatisticwith 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
StringStatisticwith 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
StringStatisticwith 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
StringStatisticwith the name of the specification. This is normallyJava 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
StringStatisticwith 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
StringStatisticwith 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
CountStatisticwith 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
StringStatisticwith 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
StringStatisticwith 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
StringStatisticwith the implementation version
-
-