Interface JVMGarbageCollectorStats
- All Superinterfaces:
Stats
A Stats interface, to expose the monitoring information
about the JVM Garbage Collection subsystem
- Since:
- 8.1
-
Method Summary
Modifier and TypeMethodDescriptionReturns the total number of collections that have occurredReturns the accumulated collection time in millisecondsMethods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
-
Method Details
-
getCollectionCount
CountStatistic getCollectionCount()Returns the total number of collections that have occurred- Returns:
- CountStatistic total number of collections that occurred
-
getCollectionTime
CountStatistic getCollectionTime()Returns the accumulated collection time in milliseconds- Returns:
- CountStatistic collection time in milliseconds
-