Class MetricService
- java.lang.Object
-
- org.apache.iotdb.metrics.AbstractMetricService
-
- org.apache.iotdb.db.service.metrics.MetricService
-
- All Implemented Interfaces:
org.apache.iotdb.commons.service.IService,MetricServiceMBean
public class MetricService extends org.apache.iotdb.metrics.AbstractMetricService implements MetricServiceMBean, org.apache.iotdb.commons.service.IService
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenablePredefinedMetrics(org.apache.iotdb.metrics.predefined.PredefinedMetric metric)org.apache.iotdb.commons.service.ServiceTypegetID()static MetricServicegetInstance()voidreloadProperties(org.apache.iotdb.metrics.config.ReloadLevel reloadLevel)voidrestartService()voidstart()voidstop()-
Methods inherited from class org.apache.iotdb.metrics.AbstractMetricService
count, gauge, getAllCounters, getAllGauges, getAllHistograms, getAllMetricKeys, getAllRates, getAllTimers, getMetricManager, getOrCreateAutoGauge, getOrCreateCounter, getOrCreateGauge, getOrCreateHistogram, getOrCreateRate, getOrCreateTimer, histogram, isEnable, loadReporter, rate, remove, start, startAllReporter, startService, stop, stopService, timer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.iotdb.db.service.metrics.MetricServiceMBean
startService, stopService
-
-
-
-
Method Detail
-
start
public void start() throws org.apache.iotdb.commons.exception.StartupException- Specified by:
startin interfaceorg.apache.iotdb.commons.service.IService- Throws:
org.apache.iotdb.commons.exception.StartupException
-
stop
public void stop()
- Specified by:
stopin interfaceorg.apache.iotdb.commons.service.IService
-
restartService
public void restartService() throws org.apache.iotdb.commons.exception.StartupException- Specified by:
restartServicein interfaceMetricServiceMBean- Throws:
org.apache.iotdb.commons.exception.StartupException
-
enablePredefinedMetrics
public void enablePredefinedMetrics(org.apache.iotdb.metrics.predefined.PredefinedMetric metric)
- Specified by:
enablePredefinedMetricsin classorg.apache.iotdb.metrics.AbstractMetricService
-
reloadProperties
public void reloadProperties(org.apache.iotdb.metrics.config.ReloadLevel reloadLevel)
- Specified by:
reloadPropertiesin classorg.apache.iotdb.metrics.AbstractMetricService
-
getID
public org.apache.iotdb.commons.service.ServiceType getID()
- Specified by:
getIDin interfaceorg.apache.iotdb.commons.service.IService
-
getInstance
public static MetricService getInstance()
-
-