@InterfaceAudience.Private public class MetricsWALEventTrackerSourceImpl extends BaseSourceImpl implements MetricsWALEventTrackerSource
Modifier and Type | Field and Description |
---|---|
private MutableFastCounter |
numFailedPutsCount |
private MutableFastCounter |
numRecordsFailedPutsCount |
metricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registry
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
HBASE_METRICS_SYSTEM_NAME
Constructor and Description |
---|
MetricsWALEventTrackerSourceImpl() |
MetricsWALEventTrackerSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext) |
Modifier and Type | Method and Description |
---|---|
long |
getFailedPuts() |
long |
getNumRecordsFailedPuts() |
void |
incrFailedPuts(long numRecords) |
decGauge, getMetrics, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram
private final MutableFastCounter numFailedPutsCount
private final MutableFastCounter numRecordsFailedPutsCount
public MetricsWALEventTrackerSourceImpl()
public MetricsWALEventTrackerSourceImpl(String metricsName, String metricsDescription, String metricsContext, String metricsJmxContext)
public void incrFailedPuts(long numRecords)
incrFailedPuts
in interface MetricsWALEventTrackerSource
public long getFailedPuts()
getFailedPuts
in interface MetricsWALEventTrackerSource
public long getNumRecordsFailedPuts()
getNumRecordsFailedPuts
in interface MetricsWALEventTrackerSource
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.