接口 JvmGCMetricsLogger
public interface JvmGCMetricsLogger
JvmGCMetricsLogger can be implemented for each specific GC type which retrieves GC count and pause time and
logs it into metrics.-
方法概要
修饰符和类型方法说明voidlogMetrics(Metrics metrics) JvmGCMetricsLoggershould update the metrics with GC specific dimensions and value.voidrefresh()It will be triggered byJvmMetricsperiodically to refresh stats at interval (default = 1 min).
-
方法详细资料
-
logMetrics
JvmGCMetricsLoggershould update the metrics with GC specific dimensions and value.- 参数:
metrics-
-
refresh
void refresh()It will be triggered byJvmMetricsperiodically to refresh stats at interval (default = 1 min).
-