@InterfaceAudience.Private public class MetricsMasterFilesystemSourceImpl extends BaseSourceImpl implements MetricsMasterFileSystemSource
metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry
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, updateQuantile
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, removeMetric, setGauge, updateHistogram, updateQuantile
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-2016 The Apache Software Foundation. All Rights Reserved.