Interface JVMRuntimeStats
- All Superinterfaces:
Stats
A Stats interface to expose information about the JVM Runtime
- Since:
- 8.1
-
Method Summary
Modifier and TypeMethodDescriptionReturns the classpath that is used by the bootstrap class loader to search for class filesReturns the classpath that is used by the system class loader to search for class filesReturns the input arguments passed to the JVM.returns the Java library pathReturns the management spec version implemented by the JVMgetName()Returns the name representing the running JVMReturns the JVM specification nameReturns the JVM specification vendorReturns the JVM specification versionReturns the uptime of the JVM in millisecondsReturns the JVM implementation nameReturns the JVM implementation vendorReturns the JVM implementation versionMethods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
-
Method Details
-
getName
StringStatistic getName()Returns the name representing the running JVM- Returns:
- StringStatistic the name of the running JVM
-
getVmName
StringStatistic getVmName()Returns the JVM implementation name- Returns:
- StringStatistic JVM implementation name
-
getVmVendor
StringStatistic getVmVendor()Returns the JVM implementation vendor- Returns:
- StringStatistic JVM implementation vendor
-
getVmVersion
StringStatistic getVmVersion()Returns the JVM implementation version- Returns:
- StringStatistic JVM implementation version
-
getSpecName
StringStatistic getSpecName()Returns the JVM specification name- Returns:
- StringStatistic JVM specification name
-
getSpecVendor
StringStatistic getSpecVendor()Returns the JVM specification vendor- Returns:
- StringStatistic JVM specification vendor
-
getSpecVersion
StringStatistic getSpecVersion()Returns the JVM specification version- Returns:
- StringStatistic JVM specification version
-
getManagementSpecVersion
StringStatistic getManagementSpecVersion()Returns the management spec version implemented by the JVM- Returns:
- StringStatistic Management specification version
-
getClassPath
StringStatistic getClassPath()Returns the classpath that is used by the system class loader to search for class files- Returns:
- StringStatistic Java class path
-
getLibraryPath
StringStatistic getLibraryPath()returns the Java library path- Returns:
- StringStatistic Java library path
-
getBootClasspath
StringStatistic getBootClasspath()Returns the classpath that is used by the bootstrap class loader to search for class files- Returns:
- StringStatistic the boot classpath
-
getInputArguments
StringStatistic getInputArguments()Returns the input arguments passed to the JVM. Does not include the arguments to the main method- Returns:
- StringStatistic arguments to the JVM
-
getUptime
CountStatistic getUptime()Returns the uptime of the JVM in milliseconds- Returns:
- CountStatistic Uptime in milliseconds
-