Package org.apache.iotdb.metrics
Class DoNothingMetricService
- java.lang.Object
-
- org.apache.iotdb.metrics.AbstractMetricService
-
- org.apache.iotdb.metrics.DoNothingMetricService
-
public class DoNothingMetricService extends AbstractMetricService
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.metrics.AbstractMetricService
compositeReporter, internalReporter, METRIC_CONFIG, metricManager, metricSets
-
-
Constructor Summary
Constructors Constructor Description DoNothingMetricService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidloadManager()Load metric manager according to configuration.protected voidloadReporter()Load metric reporters according to configuration.voidreloadInternalReporter(IoTDBInternalReporter internalReporter)Reload internal reporter.protected voidreloadService(ReloadLevel reloadLevel)Reload metric service.-
Methods inherited from class org.apache.iotdb.metrics.AbstractMetricService
addMetricSet, count, countWithInternalReportAsync, createAutoGauge, createAutoGaugeWithInternalReport, gauge, gaugeWithInternalReportAsync, getAllMetricKeys, getAllMetrics, getAutoGauge, getMetricManager, getMetricsByType, getOrCreateCounter, getOrCreateCounterWithInternalReport, getOrCreateGauge, getOrCreateGaugeWithInternalReport, getOrCreateHistogram, getOrCreateHistogramWithInternalReport, getOrCreateRate, getOrCreateRateWithInternalReport, getOrCreateTimer, getOrCreateTimerWithInternalReport, histogram, histogramWithInternalReportAsync, rate, rateWithInternalReportAsync, remove, removeMetricSet, start, startAllReporter, startCoreModule, startService, stop, stopAllReporter, stopCoreModule, stopService, timer, timerWithInternalReportAsync
-
-
-
-
Method Detail
-
reloadInternalReporter
public void reloadInternalReporter(IoTDBInternalReporter internalReporter)
Description copied from class:AbstractMetricServiceReload internal reporter.- Specified by:
reloadInternalReporterin classAbstractMetricService- Parameters:
internalReporter- the new internal reporter
-
reloadService
protected void reloadService(ReloadLevel reloadLevel)
Description copied from class:AbstractMetricServiceReload metric service.- Specified by:
reloadServicein classAbstractMetricService- Parameters:
reloadLevel- the level of reload
-
loadManager
protected void loadManager()
Description copied from class:AbstractMetricServiceLoad metric manager according to configuration.- Specified by:
loadManagerin classAbstractMetricService
-
loadReporter
protected void loadReporter()
Description copied from class:AbstractMetricServiceLoad metric reporters according to configuration.- Specified by:
loadReporterin classAbstractMetricService
-
-