Package org.apache.hadoop.hbase.metrics
Class ExceptionTrackingSourceImpl
java.lang.Object
org.apache.hadoop.hbase.metrics.BaseSourceImpl
org.apache.hadoop.hbase.metrics.ExceptionTrackingSourceImpl
- All Implemented Interfaces:
BaseSource,ExceptionTrackingSource,org.apache.hadoop.metrics2.MetricsSource
- Direct Known Subclasses:
MetricsHBaseServerSourceImpl,MetricsThriftServerSourceImpl
@Private
public class ExceptionTrackingSourceImpl
extends BaseSourceImpl
implements ExceptionTrackingSource
Common base implementation for metrics sources which need to track exceptions thrown or received.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MutableFastCounterprotected MutableFastCounterprotected MutableFastCounterprotected MutableFastCounterprotected MutableFastCounterprotected MutableFastCounterprotected MutableFastCounterprotected MutableFastCounterprotected MutableFastCounterprotected MutableFastCounterprotected MutableFastCounterprotected MutableFastCounterprotected MutableFastCounterprotected MutableFastCounterprotected MutableFastCounterprotected MutableFastCounterFields inherited from class org.apache.hadoop.hbase.metrics.BaseSourceImpl
metricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registryFields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
HBASE_METRICS_SYSTEM_NAMEFields inherited from interface org.apache.hadoop.hbase.metrics.ExceptionTrackingSource
EXCEPTIONS_BUSY_NAME, EXCEPTIONS_CALL_DROPPED, EXCEPTIONS_CALL_QUEUE_TOO_BIG, EXCEPTIONS_CALL_QUEUE_TOO_BIG_DESC, EXCEPTIONS_CALL_TIMED_OUT, EXCEPTIONS_DESC, EXCEPTIONS_MOVED_NAME, EXCEPTIONS_MULTI_TOO_LARGE_DESC, EXCEPTIONS_MULTI_TOO_LARGE_NAME, EXCEPTIONS_NAME, EXCEPTIONS_NSRE_NAME, EXCEPTIONS_OOO_NAME, EXCEPTIONS_QUOTA_EXCEEDED, EXCEPTIONS_REQUEST_TOO_BIG, EXCEPTIONS_RPC_THROTTLING, EXCEPTIONS_SANITY_NAME, EXCEPTIONS_SCANNER_RESET_NAME, EXCEPTIONS_TYPE_DESC, EXCEPTIONS_UNKNOWN_NAME, OTHER_EXCEPTIONS -
Constructor Summary
ConstructorsConstructorDescriptionExceptionTrackingSourceImpl(String metricsName, String metricsDescription, String metricsContext, String metricsJmxContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidinit()Clear out the metrics and re-prepare the source.voidvoidvoidvoidvoidDifferent types of exceptionsvoidvoidvoidvoidvoidvoidMethods inherited from class org.apache.hadoop.hbase.metrics.BaseSourceImpl
decGauge, getMetrics, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, removeMetric, setGauge, updateHistogramMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, removeMetric, setGauge, updateHistogram
-
Field Details
-
exceptions
-
exceptionsOOO
-
exceptionsBusy
-
exceptionsUnknown
-
exceptionsScannerReset
-
exceptionsSanity
-
exceptionsNSRE
-
exceptionsMoved
-
exceptionsMultiTooLarge
-
exceptionsCallQueueTooBig
-
exceptionsQuotaExceeded
-
exceptionsRpcThrottling
-
exceptionsCallDropped
-
exceptionsCallTimedOut
-
exceptionRequestTooBig
-
otherExceptions
-
-
Constructor Details
-
ExceptionTrackingSourceImpl
public ExceptionTrackingSourceImpl(String metricsName, String metricsDescription, String metricsContext, String metricsJmxContext)
-
-
Method Details
-
init
Description copied from interface:BaseSourceClear out the metrics and re-prepare the source.- Specified by:
initin interfaceBaseSource- Overrides:
initin classBaseSourceImpl
-
exception
- Specified by:
exceptionin interfaceExceptionTrackingSource
-
outOfOrderException
Description copied from interface:ExceptionTrackingSourceDifferent types of exceptions- Specified by:
outOfOrderExceptionin interfaceExceptionTrackingSource
-
failedSanityException
- Specified by:
failedSanityExceptionin interfaceExceptionTrackingSource
-
movedRegionException
- Specified by:
movedRegionExceptionin interfaceExceptionTrackingSource
-
notServingRegionException
- Specified by:
notServingRegionExceptionin interfaceExceptionTrackingSource
-
unknownScannerException
- Specified by:
unknownScannerExceptionin interfaceExceptionTrackingSource
-
scannerResetException
- Specified by:
scannerResetExceptionin interfaceExceptionTrackingSource
-
tooBusyException
- Specified by:
tooBusyExceptionin interfaceExceptionTrackingSource
-
multiActionTooLargeException
- Specified by:
multiActionTooLargeExceptionin interfaceExceptionTrackingSource
-
callQueueTooBigException
- Specified by:
callQueueTooBigExceptionin interfaceExceptionTrackingSource
-
quotaExceededException
- Specified by:
quotaExceededExceptionin interfaceExceptionTrackingSource
-
rpcThrottlingException
- Specified by:
rpcThrottlingExceptionin interfaceExceptionTrackingSource
-
callDroppedException
- Specified by:
callDroppedExceptionin interfaceExceptionTrackingSource
-
callTimedOut
- Specified by:
callTimedOutin interfaceExceptionTrackingSource
-
requestTooBigException
- Specified by:
requestTooBigExceptionin interfaceExceptionTrackingSource
-
otherExceptions
- Specified by:
otherExceptionsin interfaceExceptionTrackingSource
-