Package org.glassfish.admin.monitor.jvm
Class JVMCompilationStatsProvider
- java.lang.Object
-
- org.glassfish.admin.monitor.jvm.JVMCompilationStatsProvider
-
@AMXMetadata(type="compilation-system-mon", group="monitoring") @ManagedObject @Description("JVM Compilation Statistics") public class JVMCompilationStatsProvider extends Object
Provides the MBean for JVM compilation statisticsThe MBean will be of the format
amx:pp=/mon/server-mon[server],type=compilation-system-mon,name=jvm/compilation-system
and can be enabled by turning the Jvm monitoring level in the admin console to LOW- Since:
- v2
-
-
Constructor Summary
Constructors Constructor Description JVMCompilationStatsProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.glassfish.external.statistics.StringStatistic
getCompilerName()
Gets the name of the Just-in-time (JIT) compilerorg.glassfish.external.statistics.CountStatistic
getTotalCompilationTime()
Gets the approximate accumulated elapsed time spent in compilation
-
-
-
Method Detail
-
getCompilerName
@ManagedAttribute(id="name-current") @Description("name of the Just-in-time (JIT) compiler") public org.glassfish.external.statistics.StringStatistic getCompilerName()
Gets the name of the Just-in-time (JIT) compiler- Returns:
- a
StringStatistic
with the compiler name
-
getTotalCompilationTime
@ManagedAttribute(id="totalcompilationtime-current") @Description("approximate accumlated elapsed time (in milliseconds) spent in compilation") public org.glassfish.external.statistics.CountStatistic getTotalCompilationTime()
Gets the approximate accumulated elapsed time spent in compilation- Returns:
- a
StringStatistic
with the elapsed time in milliseconds
-
-