@InterfaceAudience.Private public class MetricsWALSourceImpl extends BaseSourceImpl implements MetricsWALSource
metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistryAPPEND_COUNT, APPEND_COUNT_DESC, APPEND_SIZE, APPEND_SIZE_DESC, APPEND_TIME, APPEND_TIME_DESC, METRICS_CONTEXT, METRICS_DESCRIPTION, METRICS_JMX_CONTEXT, METRICS_NAME, SLOW_APPEND_COUNT, SLOW_APPEND_COUNT_DESC, SYNC_TIME, SYNC_TIME_DESCHBASE_METRICS_SYSTEM_NAME| Constructor and Description |
|---|
MetricsWALSourceImpl() |
MetricsWALSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
incrementAppendCount() |
void |
incrementAppendSize(long size) |
void |
incrementAppendTime(long time) |
void |
incrementSlowAppendCount() |
void |
incrementSyncTime(long time) |
decGauge, getMetrics, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram, updateQuantileclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram, updateQuantilepublic void incrementAppendSize(long size)
incrementAppendSize in interface MetricsWALSourcepublic void incrementAppendTime(long time)
incrementAppendTime in interface MetricsWALSourcepublic void incrementAppendCount()
incrementAppendCount in interface MetricsWALSourcepublic void incrementSlowAppendCount()
incrementSlowAppendCount in interface MetricsWALSourcepublic void incrementSyncTime(long time)
incrementSyncTime in interface MetricsWALSourceCopyright © 2013 The Apache Software Foundation. All Rights Reserved.