@InterfaceAudience.Private public class MetricsMasterFilesystemSourceImpl extends BaseSourceImpl implements MetricsMasterFileSystemSource
Modifier and Type | Field and Description |
---|---|
private MetricHistogram |
metaSplitSizeHisto |
private MetricHistogram |
metaSplitTimeHisto |
private MetricHistogram |
splitSizeHisto |
private MetricHistogram |
splitTimeHisto |
metricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registry
META_SPLIT_SIZE_DESC, META_SPLIT_SIZE_NAME, META_SPLIT_TIME_DESC, META_SPLIT_TIME_NAME, METRICS_CONTEXT, METRICS_DESCRIPTION, METRICS_JMX_CONTEXT, METRICS_NAME, SPLIT_SIZE_DESC, SPLIT_SIZE_NAME, SPLIT_TIME_DESC, SPLIT_TIME_NAME
HBASE_METRICS_SYSTEM_NAME
Constructor and Description |
---|
MetricsMasterFilesystemSourceImpl() |
MetricsMasterFilesystemSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext) |
Modifier and Type | Method and Description |
---|---|
void |
init()
Clear out the metrics and re-prepare the source.
|
void |
updateMetaWALSplitSize(long size) |
void |
updateMetaWALSplitTime(long time) |
void |
updateSplitSize(long size) |
void |
updateSplitTime(long time) |
decGauge, getMetrics, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, removeMetric, setGauge, updateHistogram
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, removeMetric, setGauge, updateHistogram
private MetricHistogram splitSizeHisto
private MetricHistogram splitTimeHisto
private MetricHistogram metaSplitTimeHisto
private MetricHistogram metaSplitSizeHisto
public MetricsMasterFilesystemSourceImpl()
public MetricsMasterFilesystemSourceImpl(String metricsName, String metricsDescription, String metricsContext, String metricsJmxContext)
public void init()
BaseSource
init
in interface BaseSource
init
in class BaseSourceImpl
public void updateSplitTime(long time)
updateSplitTime
in interface MetricsMasterFileSystemSource
public void updateSplitSize(long size)
updateSplitSize
in interface MetricsMasterFileSystemSource
public void updateMetaWALSplitTime(long time)
updateMetaWALSplitTime
in interface MetricsMasterFileSystemSource
public void updateMetaWALSplitSize(long size)
updateMetaWALSplitSize
in interface MetricsMasterFileSystemSource
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.