Class JvmThreadMetrics
- java.lang.Object
-
- org.apache.iotdb.metrics.metricsets.jvm.JvmThreadMetrics
-
- All Implemented Interfaces:
IMetricSet
public class JvmThreadMetrics extends java.lang.Object implements IMetricSet
This file is modified from io.micrometer.core.instrument.binder.jvm.JvmThreadMetrics
-
-
Constructor Summary
Constructors Constructor Description JvmThreadMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbindTo(AbstractMetricService metricService)bind metrics to metricManager and init environment.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
-
-