@InterfaceAudience.Private public class MetricsHBaseServerSourceImpl extends BaseSourceImpl implements MetricsHBaseServerSource
| Modifier and Type | Field and Description |
|---|---|
private org.apache.hadoop.metrics2.lib.MutableCounterLong |
authenticationFailures |
private org.apache.hadoop.metrics2.lib.MutableCounterLong |
authenticationFallbacks |
private org.apache.hadoop.metrics2.lib.MutableCounterLong |
authenticationSuccesses |
private org.apache.hadoop.metrics2.lib.MutableCounterLong |
authorizationFailures |
private org.apache.hadoop.metrics2.lib.MutableCounterLong |
authorizationSuccesses |
private org.apache.hadoop.metrics2.lib.MutableCounterLong |
exceptions |
private org.apache.hadoop.metrics2.lib.MutableCounterLong |
exceptionsBusy |
private org.apache.hadoop.metrics2.lib.MutableCounterLong |
exceptionsMoved |
private org.apache.hadoop.metrics2.lib.MutableCounterLong |
exceptionsMultiTooLarge |
private org.apache.hadoop.metrics2.lib.MutableCounterLong |
exceptionsNSRE |
private org.apache.hadoop.metrics2.lib.MutableCounterLong |
exceptionsOOO |
private org.apache.hadoop.metrics2.lib.MutableCounterLong |
exceptionsSanity |
private org.apache.hadoop.metrics2.lib.MutableCounterLong |
exceptionsScannerReset |
private org.apache.hadoop.metrics2.lib.MutableCounterLong |
exceptionsUnknown |
private MutableHistogram |
processCallTime |
private MutableHistogram |
queueCallTime |
private org.apache.hadoop.metrics2.lib.MutableCounterLong |
receivedBytes |
private MutableHistogram |
requestSize |
private MutableHistogram |
responseSize |
private org.apache.hadoop.metrics2.lib.MutableCounterLong |
sentBytes |
private MutableHistogram |
totalCallTime |
private MetricsHBaseServerWrapper |
wrapper |
metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistryAUTHENTICATION_FAILURES_DESC, AUTHENTICATION_FAILURES_NAME, AUTHENTICATION_FALLBACKS_DESC, AUTHENTICATION_FALLBACKS_NAME, AUTHENTICATION_SUCCESSES_DESC, AUTHENTICATION_SUCCESSES_NAME, AUTHORIZATION_FAILURES_DESC, AUTHORIZATION_FAILURES_NAME, AUTHORIZATION_SUCCESSES_DESC, AUTHORIZATION_SUCCESSES_NAME, EXCEPTIONS_BUSY_NAME, 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, GENERAL_QUEUE_DESC, GENERAL_QUEUE_NAME, NUM_ACTIVE_HANDLER_DESC, NUM_ACTIVE_HANDLER_NAME, NUM_OPEN_CONNECTIONS_DESC, NUM_OPEN_CONNECTIONS_NAME, PRIORITY_QUEUE_DESC, PRIORITY_QUEUE_NAME, PROCESS_CALL_TIME_DESC, PROCESS_CALL_TIME_NAME, QUEUE_CALL_TIME_DESC, QUEUE_CALL_TIME_NAME, QUEUE_SIZE_DESC, QUEUE_SIZE_NAME, RECEIVED_BYTES_DESC, RECEIVED_BYTES_NAME, REPLICATION_QUEUE_DESC, REPLICATION_QUEUE_NAME, REQUEST_SIZE_DESC, REQUEST_SIZE_NAME, RESPONSE_SIZE_DESC, RESPONSE_SIZE_NAME, SENT_BYTES_DESC, SENT_BYTES_NAME, TOTAL_CALL_TIME_DESC, TOTAL_CALL_TIME_NAMEHBASE_METRICS_SYSTEM_NAME| Constructor and Description |
|---|
MetricsHBaseServerSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext,
MetricsHBaseServerWrapper wrapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticationFailure() |
void |
authenticationFallback() |
void |
authenticationSuccess() |
void |
authorizationFailure() |
void |
authorizationSuccess() |
void |
dequeuedCall(int qTime) |
void |
exception() |
void |
failedSanityException() |
void |
getMetrics(org.apache.hadoop.metrics2.MetricsCollector metricsCollector,
boolean all) |
void |
movedRegionException() |
void |
multiActionTooLargeException() |
void |
notServingRegionException() |
void |
outOfOrderException()
Different types of exceptions
|
void |
processedCall(int processingTime) |
void |
queuedAndProcessedCall(int totalTime) |
void |
receivedBytes(int count) |
void |
receivedRequest(long count) |
void |
scannerResetException() |
void |
sentBytes(long count) |
void |
sentResponse(long count) |
void |
tooBusyException() |
void |
unknownScannerException() |
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram, updateQuantileclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram, updateQuantileprivate final MetricsHBaseServerWrapper wrapper
private final org.apache.hadoop.metrics2.lib.MutableCounterLong authorizationSuccesses
private final org.apache.hadoop.metrics2.lib.MutableCounterLong authorizationFailures
private final org.apache.hadoop.metrics2.lib.MutableCounterLong authenticationSuccesses
private final org.apache.hadoop.metrics2.lib.MutableCounterLong authenticationFailures
private final org.apache.hadoop.metrics2.lib.MutableCounterLong authenticationFallbacks
private final org.apache.hadoop.metrics2.lib.MutableCounterLong sentBytes
private final org.apache.hadoop.metrics2.lib.MutableCounterLong receivedBytes
private final org.apache.hadoop.metrics2.lib.MutableCounterLong exceptions
private final org.apache.hadoop.metrics2.lib.MutableCounterLong exceptionsOOO
private final org.apache.hadoop.metrics2.lib.MutableCounterLong exceptionsBusy
private final org.apache.hadoop.metrics2.lib.MutableCounterLong exceptionsUnknown
private final org.apache.hadoop.metrics2.lib.MutableCounterLong exceptionsScannerReset
private final org.apache.hadoop.metrics2.lib.MutableCounterLong exceptionsSanity
private final org.apache.hadoop.metrics2.lib.MutableCounterLong exceptionsNSRE
private final org.apache.hadoop.metrics2.lib.MutableCounterLong exceptionsMoved
private final org.apache.hadoop.metrics2.lib.MutableCounterLong exceptionsMultiTooLarge
private MutableHistogram queueCallTime
private MutableHistogram processCallTime
private MutableHistogram totalCallTime
private MutableHistogram requestSize
private MutableHistogram responseSize
public MetricsHBaseServerSourceImpl(String metricsName, String metricsDescription, String metricsContext, String metricsJmxContext, MetricsHBaseServerWrapper wrapper)
public void authorizationSuccess()
authorizationSuccess in interface MetricsHBaseServerSourcepublic void authorizationFailure()
authorizationFailure in interface MetricsHBaseServerSourcepublic void authenticationFailure()
authenticationFailure in interface MetricsHBaseServerSourcepublic void authenticationFallback()
authenticationFallback in interface MetricsHBaseServerSourcepublic void exception()
exception in interface MetricsHBaseServerSourcepublic void outOfOrderException()
MetricsHBaseServerSourceoutOfOrderException in interface MetricsHBaseServerSourcepublic void failedSanityException()
failedSanityException in interface MetricsHBaseServerSourcepublic void movedRegionException()
movedRegionException in interface MetricsHBaseServerSourcepublic void notServingRegionException()
notServingRegionException in interface MetricsHBaseServerSourcepublic void unknownScannerException()
unknownScannerException in interface MetricsHBaseServerSourcepublic void scannerResetException()
scannerResetException in interface MetricsHBaseServerSourcepublic void tooBusyException()
tooBusyException in interface MetricsHBaseServerSourcepublic void multiActionTooLargeException()
multiActionTooLargeException in interface MetricsHBaseServerSourcepublic void authenticationSuccess()
authenticationSuccess in interface MetricsHBaseServerSourcepublic void sentBytes(long count)
sentBytes in interface MetricsHBaseServerSourcepublic void receivedBytes(int count)
receivedBytes in interface MetricsHBaseServerSourcepublic void sentResponse(long count)
sentResponse in interface MetricsHBaseServerSourcepublic void receivedRequest(long count)
receivedRequest in interface MetricsHBaseServerSourcepublic void dequeuedCall(int qTime)
dequeuedCall in interface MetricsHBaseServerSourcepublic void processedCall(int processingTime)
processedCall in interface MetricsHBaseServerSourcepublic void queuedAndProcessedCall(int totalTime)
queuedAndProcessedCall in interface MetricsHBaseServerSourcepublic void getMetrics(org.apache.hadoop.metrics2.MetricsCollector metricsCollector,
boolean all)
getMetrics in interface org.apache.hadoop.metrics2.MetricsSourcegetMetrics in class BaseSourceImplCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.