@InterfaceAudience.Private public class MetricsEditsReplaySourceImpl extends BaseSourceImpl implements MetricsEditsReplaySource
metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistryMETRICS_CONTEXT, METRICS_DESCRIPTION, METRICS_JMX_CONTEXT, METRICS_NAME, REPLAY_BATCH_SIZE_DESC, REPLAY_BATCH_SIZE_NAME, REPLAY_DATA_SIZE_DESC, REPLAY_DATA_SIZE_NAME, REPLAY_TIME_DESC, REPLAY_TIME_NAMEHBASE_METRICS_SYSTEM_NAME| Constructor and Description |
|---|
MetricsEditsReplaySourceImpl() |
MetricsEditsReplaySourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Clear out the metrics and re-prepare the source.
|
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
|
decGauge, getMetrics, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, removeMetric, setGauge, updateHistogramclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, removeMetric, setGauge, updateHistogrampublic void init()
BaseSourceinit in interface BaseSourceinit in class BaseSourceImplpublic void updateReplayTime(long time)
MetricsEditsReplaySourceupdateReplayTime in interface MetricsEditsReplaySourcepublic void updateReplayBatchSize(long size)
MetricsEditsReplaySourceupdateReplayBatchSize in interface MetricsEditsReplaySourcepublic void updateReplayDataSize(long size)
MetricsEditsReplaySourceupdateReplayDataSize in interface MetricsEditsReplaySource