@InterfaceAudience.Private public class MetricsThriftServerSourceImpl extends ExceptionTrackingSourceImpl implements org.apache.hadoop.hbase.thrift.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_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 |
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, unknownScannerExceptionpublic void init()
init in interface org.apache.hadoop.hbase.metrics.BaseSourceinit in class ExceptionTrackingSourceImplpublic void incTimeInQueue(long time)
incTimeInQueue in interface org.apache.hadoop.hbase.thrift.MetricsThriftServerSourcepublic void setCallQueueLen(int len)
setCallQueueLen in interface org.apache.hadoop.hbase.thrift.MetricsThriftServerSourcepublic void incNumRowKeysInBatchGet(int diff)
incNumRowKeysInBatchGet in interface org.apache.hadoop.hbase.thrift.MetricsThriftServerSourcepublic void incNumRowKeysInBatchMutate(int diff)
incNumRowKeysInBatchMutate in interface org.apache.hadoop.hbase.thrift.MetricsThriftServerSourcepublic void incMethodTime(String name, long time)
incMethodTime in interface org.apache.hadoop.hbase.thrift.MetricsThriftServerSourcepublic void incCall(long time)
incCall in interface org.apache.hadoop.hbase.thrift.MetricsThriftServerSourcepublic void incSlowCall(long time)
incSlowCall in interface org.apache.hadoop.hbase.thrift.MetricsThriftServerSourcepublic void incActiveWorkerCount()
incActiveWorkerCount in interface org.apache.hadoop.hbase.thrift.MetricsThriftServerSourcepublic void decActiveWorkerCount()
decActiveWorkerCount in interface org.apache.hadoop.hbase.thrift.MetricsThriftServerSourcepublic void incInfoThresholdExceeded(int count)
incInfoThresholdExceeded in interface org.apache.hadoop.hbase.metrics.JvmPauseMonitorSourcepublic void incWarnThresholdExceeded(int count)
incWarnThresholdExceeded in interface org.apache.hadoop.hbase.metrics.JvmPauseMonitorSourcepublic void updatePauseTimeWithGc(long t)
updatePauseTimeWithGc in interface org.apache.hadoop.hbase.metrics.JvmPauseMonitorSourcepublic void updatePauseTimeWithoutGc(long t)
updatePauseTimeWithoutGc in interface org.apache.hadoop.hbase.metrics.JvmPauseMonitorSourceCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.