@AMXMetadata(type="garbage-collector-mon",
group="monitoring")
@ManagedObject
@Description(value="JVM Garbage Collectors Statistics")
public class JVMGCStatsProvider
extends Object
The MBean produced from this is of the format
amx:pp=/mon/server-mon[server],type=garbage-collector-mon,name=jvm/garbage-collectors/PS MarkSweep
and can be enabled by turning the Jvm monitoring level in the admin console to LOW
| Constructor and Description |
|---|
JVMGCStatsProvider(String gcName) |
| Modifier and Type | Method and Description |
|---|---|
org.glassfish.external.statistics.CountStatistic |
getCollectionCount()
Gets the total number of collections that have occurred
|
org.glassfish.external.statistics.CountStatistic |
getCollectionTime()
Gets the approximate accumulated collection elapsed time
|
public JVMGCStatsProvider(String gcName)
@ManagedAttribute(id="collectioncount-count") @Description(value="total number of collections that have occurred") public org.glassfish.external.statistics.CountStatistic getCollectionCount()
CountStatistic with the number of collections@ManagedAttribute(id="collectiontime-count") @Description(value="approximate accumulated collection elapsed time in milliseconds") public org.glassfish.external.statistics.CountStatistic getCollectionTime()
CountStatistic with the time in millisecondsCopyright © 2019. All rights reserved.