Package org.apache.pulsar.common.stats
Class JvmG1GCMetricsLogger
java.lang.Object
org.apache.pulsar.common.stats.JvmG1GCMetricsLogger
- All Implemented Interfaces:
JvmGCMetricsLogger
Logger for the JVM G1 GC metrics.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
logMetrics
(Metrics metrics) JvmGCMetricsLogger
should update the metrics with GC specific dimensions and value.void
refresh()
It will be triggered byJvmMetrics
periodically to refresh stats at interval (default = 1 min).
-
Constructor Details
-
JvmG1GCMetricsLogger
public JvmG1GCMetricsLogger()
-
-
Method Details
-
logMetrics
Description copied from interface:JvmGCMetricsLogger
JvmGCMetricsLogger
should update the metrics with GC specific dimensions and value.- Specified by:
logMetrics
in interfaceJvmGCMetricsLogger
-
refresh
public void refresh()Description copied from interface:JvmGCMetricsLogger
It will be triggered byJvmMetrics
periodically to refresh stats at interval (default = 1 min).- Specified by:
refresh
in interfaceJvmGCMetricsLogger
-