Class MetricsWALEventTrackerSourceImpl
java.lang.Object
org.apache.hadoop.hbase.metrics.BaseSourceImpl
org.apache.hadoop.hbase.namequeues.MetricsWALEventTrackerSourceImpl
- All Implemented Interfaces:
BaseSource,MetricsWALEventTrackerSource,org.apache.hadoop.metrics2.MetricsSource
@Private
public class MetricsWALEventTrackerSourceImpl
extends BaseSourceImpl
implements MetricsWALEventTrackerSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MutableFastCounterprivate final MutableFastCounterFields inherited from class org.apache.hadoop.hbase.metrics.BaseSourceImpl
metricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registryFields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
HBASE_METRICS_SYSTEM_NAMEFields inherited from interface org.apache.hadoop.hbase.namequeues.MetricsWALEventTrackerSource
METRICS_CONTEXT, METRICS_DESCRIPTION, METRICS_JMX_CONTEXT, METRICS_NAME, NUM_FAILED_PUTS, NUM_FAILED_PUTS_DESC, NUM_RECORDS_FAILED_PUTS, NUM_RECORDS_FAILED_PUTS_DESC -
Constructor Summary
ConstructorsConstructorDescriptionMetricsWALEventTrackerSourceImpl(String metricsName, String metricsDescription, String metricsContext, String metricsJmxContext) -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.metrics.BaseSourceImpl
decGauge, getMetrics, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, init, removeMetric, setGauge, updateHistogramMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram
-
Field Details
-
numFailedPutsCount
-
numRecordsFailedPutsCount
-
-
Constructor Details
-
MetricsWALEventTrackerSourceImpl
public MetricsWALEventTrackerSourceImpl() -
MetricsWALEventTrackerSourceImpl
public MetricsWALEventTrackerSourceImpl(String metricsName, String metricsDescription, String metricsContext, String metricsJmxContext)
-
-
Method Details
-
incrFailedPuts
- Specified by:
incrFailedPutsin interfaceMetricsWALEventTrackerSource
-
getFailedPuts
- Specified by:
getFailedPutsin interfaceMetricsWALEventTrackerSource
-
getNumRecordsFailedPuts
- Specified by:
getNumRecordsFailedPutsin interfaceMetricsWALEventTrackerSource
-