org.apache.hadoop.hbase.regionserver.wal
Interface MetricsEditsReplaySource

All Superinterfaces:
BaseSource
All Known Implementing Classes:
MetricsEditsReplaySourceImpl

public interface MetricsEditsReplaySource
extends BaseSource

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

METRICS_NAME

static final String METRICS_NAME
The name of the metrics

See Also:
Constant Field Values

METRICS_CONTEXT

static final String METRICS_CONTEXT
The name of the metrics context that metrics will be under.

See Also:
Constant Field Values

METRICS_DESCRIPTION

static final String METRICS_DESCRIPTION
Description

See Also:
Constant Field Values

METRICS_JMX_CONTEXT

static final String METRICS_JMX_CONTEXT
The name of the metrics context that metrics will be under in jmx

See Also:
Constant Field Values

REPLAY_TIME_NAME

static final String REPLAY_TIME_NAME
See Also:
Constant Field Values

REPLAY_TIME_DESC

static final String REPLAY_TIME_DESC
See Also:
Constant Field Values

REPLAY_BATCH_SIZE_NAME

static final String REPLAY_BATCH_SIZE_NAME
See Also:
Constant Field Values

REPLAY_BATCH_SIZE_DESC

static final String REPLAY_BATCH_SIZE_DESC
See Also:
Constant Field Values

REPLAY_DATA_SIZE_NAME

static final String REPLAY_DATA_SIZE_NAME
See Also:
Constant Field Values

REPLAY_DATA_SIZE_DESC

static final String REPLAY_DATA_SIZE_DESC
See Also:
Constant Field Values
Method Detail

updateReplayTime

void updateReplayTime(long time)
Add the time a replay command took


updateReplayBatchSize

void updateReplayBatchSize(long size)
Add the batch size of each replay


updateReplayDataSize

void updateReplayDataSize(long size)
Add the payload data size of each replay



Copyright © 2013 The Apache Software Foundation. All Rights Reserved.