public class LogbackMetrics extends Object implements IMetricSet, AutoCloseable
| 构造器和说明 |
|---|
LogbackMetrics() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
bindTo(MetricManager metricManager)
bind related metric to metric manager
|
void |
close() |
PredefinedMetric |
getType()
get type of metric set
|
static void |
ignoreMetrics(Runnable r) |
public void bindTo(MetricManager metricManager)
IMetricSetbindTo 在接口中 IMetricSetpublic static void ignoreMetrics(Runnable r)
public PredefinedMetric getType()
IMetricSetgetType 在接口中 IMetricSetpublic void close()
throws Exception
close 在接口中 AutoCloseableExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.