@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, exceptionsUnknownmetricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registryACTIVE_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_NAMEINFO_THRESHOLD_COUNT_DESC, INFO_THRESHOLD_COUNT_KEY, PAUSE_TIME_WITH_GC_DESC, PAUSE_TIME_WITH_GC_KEY, PAUSE_TIME_WITHOUT_GC_DESC, PAUSE_TIME_WITHOUT_GC_KEY, WARN_THRESHOLD_COUNT_DESC, WARN_THRESHOLD_COUNT_KEY| 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 |
incInfoThresholdExceeded(int count) |
void |
incMethodTime(String name,
long time) |
void |
incNumRowKeysInBatchGet(int diff) |
void |
incNumRowKeysInBatchMutate(int diff) |
void |
incSlowCall(long time) |
void |
incTimeInQueue(long time) |
void |
incWarnThresholdExceeded(int count) |
void |
init() |
void |
setCallQueueLen(int len) |
void |
updatePauseTimeWithGc(long t) |
void |
updatePauseTimeWithoutGc(long t) |
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, getMetricRegistryInfo, 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 MetricsThriftServerSourcepublic void incInfoThresholdExceeded(int count)
incInfoThresholdExceeded in interface JvmPauseMonitorSourcepublic void incWarnThresholdExceeded(int count)
incWarnThresholdExceeded in interface JvmPauseMonitorSourcepublic void updatePauseTimeWithGc(long t)
updatePauseTimeWithGc in interface JvmPauseMonitorSourcepublic void updatePauseTimeWithoutGc(long t)
updatePauseTimeWithoutGc in interface JvmPauseMonitorSourceCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.