org.apache.hadoop.hbase.ipc
Class MetricsHBaseServerSourceImpl
java.lang.Object
org.apache.hadoop.hbase.metrics.BaseSourceImpl
org.apache.hadoop.hbase.ipc.MetricsHBaseServerSourceImpl
- All Implemented Interfaces:
- MetricsHBaseServerSource, BaseSource, org.apache.hadoop.metrics2.MetricsSource
public class MetricsHBaseServerSourceImpl
- extends BaseSourceImpl
- implements MetricsHBaseServerSource
Fields inherited from interface org.apache.hadoop.hbase.ipc.MetricsHBaseServerSource |
AUTHENTICATION_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_NAME, EXCEPTIONS_NSRE_NAME, EXCEPTIONS_OOO_NAME, EXCEPTIONS_SANITY_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_NAME |
Methods inherited from class org.apache.hadoop.hbase.metrics.BaseSourceImpl |
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram, updateQuantile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.hbase.metrics.BaseSource |
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram, updateQuantile |
MetricsHBaseServerSourceImpl
public MetricsHBaseServerSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext,
MetricsHBaseServerWrapper wrapper)
authorizationSuccess
public void authorizationSuccess()
- Specified by:
authorizationSuccess
in interface MetricsHBaseServerSource
authorizationFailure
public void authorizationFailure()
- Specified by:
authorizationFailure
in interface MetricsHBaseServerSource
authenticationFailure
public void authenticationFailure()
- Specified by:
authenticationFailure
in interface MetricsHBaseServerSource
authenticationSuccess
public void authenticationSuccess()
- Specified by:
authenticationSuccess
in interface MetricsHBaseServerSource
authenticationFallback
public void authenticationFallback()
- Specified by:
authenticationFallback
in interface MetricsHBaseServerSource
exception
public void exception()
- Specified by:
exception
in interface MetricsHBaseServerSource
outOfOrderException
public void outOfOrderException()
- Description copied from interface:
MetricsHBaseServerSource
- Different types of exceptions
- Specified by:
outOfOrderException
in interface MetricsHBaseServerSource
failedSanityException
public void failedSanityException()
- Specified by:
failedSanityException
in interface MetricsHBaseServerSource
movedRegionException
public void movedRegionException()
- Specified by:
movedRegionException
in interface MetricsHBaseServerSource
notServingRegionException
public void notServingRegionException()
- Specified by:
notServingRegionException
in interface MetricsHBaseServerSource
unknownScannerException
public void unknownScannerException()
- Specified by:
unknownScannerException
in interface MetricsHBaseServerSource
tooBusyException
public void tooBusyException()
- Specified by:
tooBusyException
in interface MetricsHBaseServerSource
sentBytes
public void sentBytes(long count)
- Specified by:
sentBytes
in interface MetricsHBaseServerSource
receivedBytes
public void receivedBytes(int count)
- Specified by:
receivedBytes
in interface MetricsHBaseServerSource
sentResponse
public void sentResponse(long count)
- Specified by:
sentResponse
in interface MetricsHBaseServerSource
receivedRequest
public void receivedRequest(long count)
- Specified by:
receivedRequest
in interface MetricsHBaseServerSource
dequeuedCall
public void dequeuedCall(int qTime)
- Specified by:
dequeuedCall
in interface MetricsHBaseServerSource
processedCall
public void processedCall(int processingTime)
- Specified by:
processedCall
in interface MetricsHBaseServerSource
queuedAndProcessedCall
public void queuedAndProcessedCall(int totalTime)
- Specified by:
queuedAndProcessedCall
in interface MetricsHBaseServerSource
getMetrics
public void getMetrics(org.apache.hadoop.metrics2.MetricsBuilder metricsBuilder,
boolean all)
- Description copied from class:
BaseSourceImpl
- Method to export all the metrics.
- Specified by:
getMetrics
in interface org.apache.hadoop.metrics2.MetricsSource
- Overrides:
getMetrics
in class BaseSourceImpl
- Parameters:
metricsBuilder
- Builder to accept metricsall
- push all or only changed?
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.