public final class GarbageCollector
extends java.lang.Object
Example usage:
new GarbageCollector().exportAll();
Example metrics being exported:
runtime.jvm.gc.collection{gc="PS1"} 6.7
Constructor and Description |
---|
GarbageCollector()
Constructs a new module that will export metrics in the "runtime.jvm.gc" namespace.
|
Modifier and Type | Method and Description |
---|---|
void |
exportAll()
Export all metrics generated by this module.
|