|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetricsWALSource
Interface of the source that will export metrics about the region server's HLog.
Field Summary | |
---|---|
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
|
static String |
WRITTEN_BYTES
|
static String |
WRITTEN_BYTES_DESC
|
Fields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource |
---|
HBASE_METRICS_SYSTEM_NAME |
Method Summary | |
---|---|
void |
incrementAppendCount()
Increment the count of hlog 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 hlog. |
void |
incrementWrittenBytes(long val)
|
Methods inherited from interface org.apache.hadoop.hbase.metrics.BaseSource |
---|
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram, updateQuantile |
Field Detail |
---|
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
static final String WRITTEN_BYTES
static final String WRITTEN_BYTES_DESC
Method Detail |
---|
void incrementAppendSize(long size)
void incrementAppendTime(long time)
void incrementAppendCount()
void incrementSlowAppendCount()
void incrementSyncTime(long time)
void incrementLogRollRequested()
void incrementLowReplicationLogRoll()
void incrementWrittenBytes(long val)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |