org.apache.hadoop.hbase.master
Class MetricsMasterFilesystemSourceImpl
java.lang.Object
org.apache.hadoop.hbase.metrics.BaseSourceImpl
org.apache.hadoop.hbase.master.MetricsMasterFilesystemSourceImpl
- All Implemented Interfaces:
- MetricsMasterFileSystemSource, BaseSource, org.apache.hadoop.metrics2.MetricsSource
@InterfaceAudience.Private
public class MetricsMasterFilesystemSourceImpl
- extends BaseSourceImpl
- implements MetricsMasterFileSystemSource
Fields inherited from interface org.apache.hadoop.hbase.master.MetricsMasterFileSystemSource |
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 |
Methods inherited from class org.apache.hadoop.hbase.metrics.BaseSourceImpl |
decGauge, getMetrics, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, removeMetric, setGauge, updateHistogram, updateQuantile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.hbase.metrics.BaseSource |
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, removeMetric, setGauge, updateHistogram, updateQuantile |
MetricsMasterFilesystemSourceImpl
public MetricsMasterFilesystemSourceImpl()
MetricsMasterFilesystemSourceImpl
public MetricsMasterFilesystemSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext)
init
public void init()
- Description copied from interface:
BaseSource
- Clear out the metrics and re-prepare the source.
- Specified by:
init
in interface BaseSource
- Overrides:
init
in class BaseSourceImpl
updateSplitTime
public void updateSplitTime(long time)
- Specified by:
updateSplitTime
in interface MetricsMasterFileSystemSource
updateSplitSize
public void updateSplitSize(long size)
- Specified by:
updateSplitSize
in interface MetricsMasterFileSystemSource
updateMetaWALSplitTime
public void updateMetaWALSplitTime(long time)
- Specified by:
updateMetaWALSplitTime
in interface MetricsMasterFileSystemSource
updateMetaWALSplitSize
public void updateMetaWALSplitSize(long size)
- Specified by:
updateMetaWALSplitSize
in interface MetricsMasterFileSystemSource
Copyright © 2015 The Apache Software Foundation. All rights reserved.