@InterfaceAudience.Private public class MetricsThriftServerSourceImpl extends ExceptionTrackingSourceImpl implements MetricsThriftServerSource
MetricsThriftServerSource
Implements BaseSource through BaseSourceImpl, following the patternexceptions, exceptionsBusy, exceptionsCallQueueTooBig, exceptionsMoved, exceptionsMultiTooLarge, exceptionsNSRE, exceptionsOOO, exceptionsSanity, exceptionsScannerReset, exceptionsUnknownmetricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistryACTIVE_WORKER_COUNT_KEY, BATCH_GET_KEY, BATCH_MUTATE_KEY, CALL_QUEUE_LEN_KEY, SLOW_THRIFT_CALL_KEY, THRIFT_CALL_KEY, TIME_IN_QUEUE_KEYEXCEPTIONS_BUSY_NAME, EXCEPTIONS_CALL_QUEUE_TOO_BIG, EXCEPTIONS_CALL_QUEUE_TOO_BIG_DESC, EXCEPTIONS_DESC, EXCEPTIONS_MOVED_NAME, EXCEPTIONS_MULTI_TOO_LARGE_DESC, EXCEPTIONS_MULTI_TOO_LARGE_NAME, EXCEPTIONS_NAME, EXCEPTIONS_NSRE_NAME, EXCEPTIONS_OOO_NAME, EXCEPTIONS_SANITY_NAME, EXCEPTIONS_SCANNER_RESET_NAME, EXCEPTIONS_TYPE_DESC, EXCEPTIONS_UNKNOWN_NAMEHBASE_METRICS_SYSTEM_NAME| Constructor and Description |
|---|
MetricsThriftServerSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
decActiveWorkerCount() |
void |
incActiveWorkerCount() |
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) |
callQueueTooBigException, exception, failedSanityException, movedRegionException, multiActionTooLargeException, notServingRegionException, outOfOrderException, scannerResetException, tooBusyException, unknownScannerExceptiondecGauge, getMetrics, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, removeMetric, setGauge, updateHistogramclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcallQueueTooBigException, exception, failedSanityException, movedRegionException, multiActionTooLargeException, notServingRegionException, outOfOrderException, scannerResetException, tooBusyException, unknownScannerExceptiondecGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, removeMetric, setGauge, updateHistogrampublic void init()
init in interface BaseSourceinit in class ExceptionTrackingSourceImplpublic 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 MetricsThriftServerSourcepublic void incActiveWorkerCount()
incActiveWorkerCount in interface MetricsThriftServerSourcepublic void decActiveWorkerCount()
decActiveWorkerCount in interface MetricsThriftServerSourceCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.