@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| 构造器和说明 |
|---|
MetricsThriftServerSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 BaseSourceinit 在类中 ExceptionTrackingSourceImplpublic void incTimeInQueue(long time)
incTimeInQueue 在接口中 MetricsThriftServerSourcepublic void setCallQueueLen(int len)
setCallQueueLen 在接口中 MetricsThriftServerSourcepublic void incNumRowKeysInBatchGet(int diff)
public void incNumRowKeysInBatchMutate(int diff)
public void incMethodTime(String name, long time)
incMethodTime 在接口中 MetricsThriftServerSourcepublic void incCall(long time)
incCall 在接口中 MetricsThriftServerSourcepublic void incSlowCall(long time)
incSlowCall 在接口中 MetricsThriftServerSourcepublic void incActiveWorkerCount()
public void decActiveWorkerCount()
public void incInfoThresholdExceeded(int count)
public void incWarnThresholdExceeded(int count)
public void updatePauseTimeWithGc(long t)
updatePauseTimeWithGc 在接口中 JvmPauseMonitorSourcepublic void updatePauseTimeWithoutGc(long t)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.