public interface JvmGCMetricsLogger
JvmGCMetricsLogger can be implemented for each specific GC type which retrieves GC count and pause time and
logs it into metrics.| Modifier and Type | Method and Description |
|---|---|
void |
logMetrics(Metrics metrics)
JvmGCMetricsLogger should update the metrics with GC specific dimensions and value. |
void |
refresh()
It will be triggered by
JvmMetrics periodically to refresh stats at interval (default = 1 min). |
void logMetrics(Metrics metrics)
JvmGCMetricsLogger should update the metrics with GC specific dimensions and value.metrics - void refresh()
JvmMetrics periodically to refresh stats at interval (default = 1 min).Copyright © 2017–2021 Apache Software Foundation. All rights reserved.