final class VMGarbageCollectorMXBeanImpl extends Object
Constructor and Description |
---|
VMGarbageCollectorMXBeanImpl() |
Modifier and Type | Method and Description |
---|---|
(package private) static long |
getCollectionCount(String name)
Returns the number of collections that have occurred.
|
(package private) static long |
getCollectionTime(String name)
Returns the amount of time spent collecting.
|
VMGarbageCollectorMXBeanImpl()
static long getCollectionCount(String name)
name
- the name of the collector whose count should
be returned (ignored).static long getCollectionTime(String name)
name
- the name of the collector whose time should
be returned (ignored).