|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetricsEditsReplaySource
Interface of the source that will export metrics about log replay statistics when recovering a region server in distributedLogReplay mode
Field Summary | |
---|---|
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 |
REPLAY_BATCH_SIZE_DESC
|
static String |
REPLAY_BATCH_SIZE_NAME
|
static String |
REPLAY_DATA_SIZE_DESC
|
static String |
REPLAY_DATA_SIZE_NAME
|
static String |
REPLAY_TIME_DESC
|
static String |
REPLAY_TIME_NAME
|
Fields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource |
---|
HBASE_METRICS_SYSTEM_NAME |
Method Summary | |
---|---|
void |
updateReplayBatchSize(long size)
Add the batch size of each replay |
void |
updateReplayDataSize(long size)
Add the payload data size of each replay |
void |
updateReplayTime(long time)
Add the time a replay command took |
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 REPLAY_TIME_NAME
static final String REPLAY_TIME_DESC
static final String REPLAY_BATCH_SIZE_NAME
static final String REPLAY_BATCH_SIZE_DESC
static final String REPLAY_DATA_SIZE_NAME
static final String REPLAY_DATA_SIZE_DESC
Method Detail |
---|
void updateReplayTime(long time)
void updateReplayBatchSize(long size)
void updateReplayDataSize(long size)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |