public interface MetricsWALSource extends BaseSource
Modifier and Type | Field and Description |
---|---|
static String |
APPEND_COUNT |
static String |
APPEND_COUNT_DESC |
static String |
APPEND_SIZE |
static String |
APPEND_SIZE_DESC |
static String |
APPEND_TIME |
static String |
APPEND_TIME_DESC |
static String |
LOW_REPLICA_ROLL_REQUESTED |
static String |
LOW_REPLICA_ROLL_REQUESTED_DESC |
static String |
METRICS_CONTEXT
The name of the metrics context that metrics will be under.
|
static String |
METRICS_DESCRIPTION
Description
|
static String |
METRICS_JMX_CONTEXT
The name of the metrics context that metrics will be under in jmx
|
static String |
METRICS_NAME
The name of the metrics
|
static String |
ROLL_REQUESTED |
static String |
ROLL_REQUESTED_DESC |
static String |
SLOW_APPEND_COUNT |
static String |
SLOW_APPEND_COUNT_DESC |
static String |
SYNC_TIME |
static String |
SYNC_TIME_DESC |
HBASE_METRICS_SYSTEM_NAME
Modifier and Type | Method and Description |
---|---|
void |
incrementAppendCount()
Increment the count of wal appends
|
void |
incrementAppendSize(long size)
Add the append size.
|
void |
incrementAppendTime(long time)
Add the time it took to append.
|
void |
incrementLogRollRequested() |
void |
incrementLowReplicationLogRoll() |
void |
incrementSlowAppendCount()
Increment the number of appends that were slow
|
void |
incrementSyncTime(long time)
Add the time it took to sync the wal.
|
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram, updateQuantile
static 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 LOW_REPLICA_ROLL_REQUESTED
static final String LOW_REPLICA_ROLL_REQUESTED_DESC
void incrementAppendSize(long size)
void incrementAppendTime(long time)
void incrementAppendCount()
void incrementSlowAppendCount()
void incrementSyncTime(long time)
void incrementLogRollRequested()
void incrementLowReplicationLogRoll()
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.