@InterfaceAudience.Private public class MetricsMasterFilesystemSourceImpl extends BaseSourceImpl implements MetricsMasterFileSystemSource
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
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 Cloudera. All rights reserved.