Class JvmGcMetrics
- java.lang.Object
-
- org.apache.iotdb.metrics.metricsets.jvm.JvmGcMetrics
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IMetricSet
public class JvmGcMetrics extends java.lang.Object implements IMetricSet, java.lang.AutoCloseable
This file is modified from io.micrometer.core.instrument.binder.jvm.JvmGcMetrics
-
-
Constructor Summary
Constructors Constructor Description JvmGcMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbindTo(AbstractMetricService metricService)bind metrics to metricManager and init environment.voidclose()voidunbindFrom(AbstractMetricService metricService)remove metrics from metricManager and clear environment.
-
-
-
Method Detail
-
bindTo
public void bindTo(AbstractMetricService metricService)
Description copied from interface:IMetricSetbind metrics to metricManager and init environment.- Specified by:
bindToin interfaceIMetricSet
-
unbindFrom
public void unbindFrom(AbstractMetricService metricService)
Description copied from interface:IMetricSetremove metrics from metricManager and clear environment.- Specified by:
unbindFromin interfaceIMetricSet
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
-