@InterfaceAudience.Private public interface MetricsThriftServerSource extends ExceptionTrackingSource, JvmPauseMonitorSource
Modifier and Type | Field and Description |
---|---|
static String |
ACTIVE_WORKER_COUNT_KEY |
static String |
BATCH_GET_KEY |
static String |
BATCH_MUTATE_KEY |
static String |
CALL_QUEUE_LEN_KEY |
static String |
SLOW_THRIFT_CALL_KEY |
static String |
THRIFT_CALL_KEY |
static String |
TIME_IN_QUEUE_KEY |
EXCEPTIONS_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
HBASE_METRICS_SYSTEM_NAME
INFO_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
Modifier and Type | Method and Description |
---|---|
void |
decActiveWorkerCount()
Decrement number of active thrift workers.
|
void |
incActiveWorkerCount()
Increment number of active thrift workers.
|
void |
incCall(long time)
Add how long a call took
|
void |
incMethodTime(String name,
long time)
Add how long a method took
|
void |
incNumRowKeysInBatchGet(int diff)
Add how many keys were in a batch get.
|
void |
incNumRowKeysInBatchMutate(int diff)
Add how many keys were in a batch mutate.
|
void |
incSlowCall(long time)
Increment how long a slow call took.
|
void |
incTimeInQueue(long time)
Add how long an operation was in the queue.
|
void |
setCallQueueLen(int len)
Set the call queue length.
|
callQueueTooBigException, exception, failedSanityException, movedRegionException, multiActionTooLargeException, notServingRegionException, outOfOrderException, scannerResetException, tooBusyException, unknownScannerException
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram
incInfoThresholdExceeded, incWarnThresholdExceeded, updatePauseTimeWithGc, updatePauseTimeWithoutGc
static final String BATCH_GET_KEY
static final String BATCH_MUTATE_KEY
static final String TIME_IN_QUEUE_KEY
static final String THRIFT_CALL_KEY
static final String SLOW_THRIFT_CALL_KEY
static final String CALL_QUEUE_LEN_KEY
static final String ACTIVE_WORKER_COUNT_KEY
void incTimeInQueue(long time)
time
- void setCallQueueLen(int len)
len
- Timevoid incNumRowKeysInBatchGet(int diff)
diff
- Num Keysvoid incNumRowKeysInBatchMutate(int diff)
diff
- Num Keysvoid incMethodTime(String name, long time)
name
- Method nametime
- Timevoid incCall(long time)
time
- Timevoid incSlowCall(long time)
time
- Timevoid incActiveWorkerCount()
void decActiveWorkerCount()
Copyright © 2007–2019 Cloudera. All rights reserved.