@InterfaceAudience.Private public class MetricsWALSourceImpl extends BaseSourceImpl implements org.apache.hadoop.hbase.regionserver.wal.MetricsWALSource
MetricsWALSourcemetricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registryAPPEND_COUNT, APPEND_COUNT_DESC, APPEND_SIZE, APPEND_SIZE_DESC, APPEND_TIME, APPEND_TIME_DESC, LOW_REPLICA_ROLL_REQUESTED, LOW_REPLICA_ROLL_REQUESTED_DESC, METRICS_CONTEXT, METRICS_DESCRIPTION, METRICS_JMX_CONTEXT, METRICS_NAME, ROLL_REQUESTED, ROLL_REQUESTED_DESC, SLOW_APPEND_COUNT, SLOW_APPEND_COUNT_DESC, SYNC_TIME, SYNC_TIME_DESC, WRITTEN_BYTES, WRITTEN_BYTES_DESC| Constructor and Description |
|---|
MetricsWALSourceImpl() |
MetricsWALSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext) |
| Modifier and Type | Method and Description |
|---|---|
long |
getSlowAppendCount() |
long |
getWrittenBytes() |
void |
incrementAppendCount() |
void |
incrementAppendSize(long size) |
void |
incrementAppendTime(long time) |
void |
incrementLogRollRequested() |
void |
incrementLowReplicationLogRoll() |
void |
incrementSlowAppendCount() |
void |
incrementSyncTime(long time) |
void |
incrementWrittenBytes(long val) |
decGauge, getMetrics, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, init, removeMetric, setGauge, updateHistogrampublic void incrementAppendSize(long size)
incrementAppendSize in interface org.apache.hadoop.hbase.regionserver.wal.MetricsWALSourcepublic void incrementAppendTime(long time)
incrementAppendTime in interface org.apache.hadoop.hbase.regionserver.wal.MetricsWALSourcepublic void incrementAppendCount()
incrementAppendCount in interface org.apache.hadoop.hbase.regionserver.wal.MetricsWALSourcepublic void incrementSlowAppendCount()
incrementSlowAppendCount in interface org.apache.hadoop.hbase.regionserver.wal.MetricsWALSourcepublic void incrementSyncTime(long time)
incrementSyncTime in interface org.apache.hadoop.hbase.regionserver.wal.MetricsWALSourcepublic void incrementLogRollRequested()
incrementLogRollRequested in interface org.apache.hadoop.hbase.regionserver.wal.MetricsWALSourcepublic void incrementLowReplicationLogRoll()
incrementLowReplicationLogRoll in interface org.apache.hadoop.hbase.regionserver.wal.MetricsWALSourcepublic long getSlowAppendCount()
getSlowAppendCount in interface org.apache.hadoop.hbase.regionserver.wal.MetricsWALSourcepublic void incrementWrittenBytes(long val)
incrementWrittenBytes in interface org.apache.hadoop.hbase.regionserver.wal.MetricsWALSourcepublic long getWrittenBytes()
getWrittenBytes in interface org.apache.hadoop.hbase.regionserver.wal.MetricsWALSourceCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.