public class JvmGcMetrics extends Object implements IMetricSet, AutoCloseable
| 构造器和说明 |
|---|
JvmGcMetrics() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
bindTo(AbstractMetricService metricService)
bind metrics to metricManager and init environment
|
void |
close() |
void |
unbindFrom(AbstractMetricService metricService)
remove metrics from metricManager and clear environment
|
public void bindTo(AbstractMetricService metricService)
IMetricSetbindTo 在接口中 IMetricSetpublic void unbindFrom(AbstractMetricService metricService)
IMetricSetunbindFrom 在接口中 IMetricSetpublic void close()
close 在接口中 AutoCloseableCopyright © 2022 The Apache Software Foundation. All rights reserved.