@InterfaceAudience.Private public class MetricsMasterProcSourceImpl extends BaseSourceImpl implements MetricsMasterProcSource
| Modifier and Type | Field and Description | 
|---|---|
| private MetricsMasterWrapper | masterWrapper | 
metricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registryMETRICS_CONTEXT, METRICS_DESCRIPTION, METRICS_JMX_CONTEXT, METRICS_NAME, NUM_MASTER_WALS_DESC, NUM_MASTER_WALS_NAMEHBASE_METRICS_SYSTEM_NAME| Constructor and Description | 
|---|
| MetricsMasterProcSourceImpl(MetricsMasterWrapper masterWrapper) | 
| MetricsMasterProcSourceImpl(String metricsName,
                           String metricsDescription,
                           String metricsContext,
                           String metricsJmxContext,
                           MetricsMasterWrapper masterWrapper) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | getMetrics(org.apache.hadoop.metrics2.MetricsCollector metricsCollector,
          boolean all) | 
| void | init()Clear out the metrics and re-prepare the source. | 
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, removeMetric, setGauge, updateHistogramclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, removeMetric, setGauge, updateHistogramprivate final MetricsMasterWrapper masterWrapper
public MetricsMasterProcSourceImpl(MetricsMasterWrapper masterWrapper)
public MetricsMasterProcSourceImpl(String metricsName, String metricsDescription, String metricsContext, String metricsJmxContext, MetricsMasterWrapper masterWrapper)
public void init()
BaseSourceinit in interface BaseSourceinit in class BaseSourceImplpublic void getMetrics(org.apache.hadoop.metrics2.MetricsCollector metricsCollector, boolean all)
getMetrics in interface org.apache.hadoop.metrics2.MetricsSourcegetMetrics in class BaseSourceImplCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.