@InterfaceAudience.Private public interface MetricsWALSource extends BaseSource
HBASE_METRICS_SYSTEM_NAME| Modifier and Type | Method and Description |
|---|---|
long |
getSlowAppendCount() |
long |
getSuccessfulLogRolls() |
void |
incrementAppendCount(org.apache.hadoop.hbase.TableName tableName)
Increment the count of wal appends
|
void |
incrementAppendSize(org.apache.hadoop.hbase.TableName tableName,
long size)
Add the append size.
|
void |
incrementAppendTime(long time)
Add the time it took to append.
|
void |
incrementErrorLogRoll() |
void |
incrementLogRollRequested() |
void |
incrementLowReplicationLogRoll() |
void |
incrementSizeLogRoll() |
void |
incrementSlowAppendCount()
Increment the number of appends that were slow
|
void |
incrementSlowSyncLogRoll() |
void |
incrementSuccessfulLogRolls()
Increment the number of successful log roll requests.
|
void |
incrementSyncTime(long time)
Add the time it took to sync the wal.
|
void |
incrementWrittenBytes(long val) |
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogramstatic final String METRICS_NAME
static final String METRICS_CONTEXT
static final String METRICS_DESCRIPTION
static final String METRICS_JMX_CONTEXT
static final String APPEND_TIME
static final String APPEND_TIME_DESC
static final String APPEND_COUNT
static final String APPEND_COUNT_DESC
static final String APPEND_SIZE
static final String APPEND_SIZE_DESC
static final String SLOW_APPEND_COUNT
static final String SLOW_APPEND_COUNT_DESC
static final String SYNC_TIME
static final String SYNC_TIME_DESC
static final String ROLL_REQUESTED
static final String ROLL_REQUESTED_DESC
static final String ERROR_ROLL_REQUESTED
static final String ERROR_ROLL_REQUESTED_DESC
static final String LOW_REPLICA_ROLL_REQUESTED
static final String LOW_REPLICA_ROLL_REQUESTED_DESC
static final String SLOW_SYNC_ROLL_REQUESTED
static final String SLOW_SYNC_ROLL_REQUESTED_DESC
static final String SIZE_ROLL_REQUESTED
static final String SIZE_ROLL_REQUESTED_DESC
static final String WRITTEN_BYTES
static final String WRITTEN_BYTES_DESC
static final String SUCCESSFUL_LOG_ROLLS
static final String SUCCESSFUL_LOG_ROLLS_DESC
void incrementAppendSize(org.apache.hadoop.hbase.TableName tableName,
long size)
void incrementAppendTime(long time)
void incrementAppendCount(org.apache.hadoop.hbase.TableName tableName)
void incrementSlowAppendCount()
void incrementSyncTime(long time)
void incrementLogRollRequested()
void incrementErrorLogRoll()
void incrementLowReplicationLogRoll()
long getSlowAppendCount()
void incrementSlowSyncLogRoll()
void incrementSizeLogRoll()
void incrementWrittenBytes(long val)
void incrementSuccessfulLogRolls()
long getSuccessfulLogRolls()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.