Example usage for Java java.lang.management GarbageCollectorMXBean fields, constructors, methods, implement or subclass
The text is from its open source code.
long | getCollectionCount() Returns the total number of collections that have occurred. |
long | getCollectionTime() Returns the approximate accumulated collection elapsed time in milliseconds. |
String[] | getMemoryPoolNames() Returns the name of memory pools that this memory manager manages. |
String | getName() Returns the name representing this memory manager. |
ObjectName | getObjectName() Returns an ObjectName ObjectName instance representing the object name of this platform managed object. |