Java java.lang.management GarbageCollectorMXBean fields, constructors, methods, implement or subclass

Example usage for Java java.lang.management GarbageCollectorMXBean fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.lang.management GarbageCollectorMXBean.

The text is from its open source code.

Method

longgetCollectionCount()
Returns the total number of collections that have occurred.
longgetCollectionTime()
Returns the approximate accumulated collection elapsed time in milliseconds.
String[]getMemoryPoolNames()
Returns the name of memory pools that this memory manager manages.
StringgetName()
Returns the name representing this memory manager.
ObjectNamegetObjectName()
Returns an ObjectName ObjectName instance representing the object name of this platform managed object.