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
Modifier and TypeFieldDescriptionprivate final MutableFastCounter
private final MutableFastCounter
Fields inherited from class org.apache.hadoop.hbase.metrics.BaseSourceImpl
metricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registry
Fields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
HBASE_METRICS_SYSTEM_NAME
Fields 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
ConstructorDescriptionMetricsWALEventTrackerSourceImpl
(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, updateHistogram
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, 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:
incrFailedPuts
in interfaceMetricsWALEventTrackerSource
-
getFailedPuts
- Specified by:
getFailedPuts
in interfaceMetricsWALEventTrackerSource
-
getNumRecordsFailedPuts
- Specified by:
getNumRecordsFailedPuts
in interfaceMetricsWALEventTrackerSource
-