@InterfaceAudience.Private public class MetricsThriftServerSourceImpl extends BaseSourceImpl implements MetricsThriftServerSource
MetricsThriftServerSource
Implements BaseSource through BaseSourceImpl, following the patternmetricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistryBATCH_GET_KEY, BATCH_MUTATE_KEY, CALL_QUEUE_LEN_KEY, SLOW_THRIFT_CALL_KEY, THRIFT_CALL_KEY, TIME_IN_QUEUE_KEYHBASE_METRICS_SYSTEM_NAME| Constructor and Description |
|---|
MetricsThriftServerSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
incCall(long time) |
void |
incMethodTime(String name,
long time) |
void |
incNumRowKeysInBatchGet(int diff) |
void |
incNumRowKeysInBatchMutate(int diff) |
void |
incSlowCall(long time) |
void |
incTimeInQueue(long time) |
void |
init() |
void |
setCallQueueLen(int len) |
decGauge, getMetrics, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, removeMetric, setGauge, updateHistogram, updateQuantileclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, removeMetric, setGauge, updateHistogram, updateQuantilepublic void init()
init in interface BaseSourceinit in class BaseSourceImplpublic void incTimeInQueue(long time)
incTimeInQueue in interface MetricsThriftServerSourcepublic void setCallQueueLen(int len)
setCallQueueLen in interface MetricsThriftServerSourcepublic void incNumRowKeysInBatchGet(int diff)
incNumRowKeysInBatchGet in interface MetricsThriftServerSourcepublic void incNumRowKeysInBatchMutate(int diff)
incNumRowKeysInBatchMutate in interface MetricsThriftServerSourcepublic void incMethodTime(String name, long time)
incMethodTime in interface MetricsThriftServerSourcepublic void incCall(long time)
incCall in interface MetricsThriftServerSourcepublic void incSlowCall(long time)
incSlowCall in interface MetricsThriftServerSourceCopyright © 2013 The Apache Software Foundation. All Rights Reserved.