public interface GarbageCollectorMXBean
extends java.lang.management.GarbageCollectorMXBean
Modifier and Type | Method and Description |
---|---|
long |
getLastCollectionEndTime()
Returns the end time in milliseconds of the last garbage
collection that was carried out by this collector.
|
long |
getLastCollectionStartTime()
Returns the start time in milliseconds of the last garbage
collection that was carried out by this collector.
|
long |
getMemoryUsed()
Returns the amount of heap memory used by objects that are managed
by the collector corresponding to this bean object.
|
long |
getTotalCompacts()
Returns the cumulative total number of compacts that was performed by
garbage collector corresponding to this bean object.
|
long |
getTotalMemoryFreed()
Returns the cumulative total amount of memory freed, in bytes, by the
garbage collector corresponding to this bean object.
|
long getLastCollectionStartTime()
long getLastCollectionEndTime()
long getMemoryUsed()
long getTotalMemoryFreed()
long getTotalCompacts()