Package org.apache.hadoop.hbase.metrics
Interface JvmPauseMonitorSource
- All Known Subinterfaces:
MetricsRegionServerSource
,MetricsRESTSource
,MetricsThriftServerSource
- All Known Implementing Classes:
MetricsRegionServerSourceImpl
,MetricsRESTSourceImpl
,MetricsThriftServerSourceImpl
Interface for sources that will export JvmPauseMonitor metrics
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
incInfoThresholdExceeded
(int count) Increment the INFO level threshold exceeded countvoid
incWarnThresholdExceeded
(int count) Increment the WARN level threshold exceeded countvoid
updatePauseTimeWithGc
(long t) Update the pause time histogram where GC activity was detected.void
updatePauseTimeWithoutGc
(long t) Update the pause time histogram where GC activity was not detected.
-
Field Details
-
INFO_THRESHOLD_COUNT_KEY
- See Also:
-
INFO_THRESHOLD_COUNT_DESC
- See Also:
-
WARN_THRESHOLD_COUNT_KEY
- See Also:
-
WARN_THRESHOLD_COUNT_DESC
- See Also:
-
PAUSE_TIME_WITH_GC_KEY
- See Also:
-
PAUSE_TIME_WITH_GC_DESC
- See Also:
-
PAUSE_TIME_WITHOUT_GC_KEY
- See Also:
-
PAUSE_TIME_WITHOUT_GC_DESC
- See Also:
-
-
Method Details
-
incInfoThresholdExceeded
Increment the INFO level threshold exceeded count- Parameters:
count
- the count
-
incWarnThresholdExceeded
Increment the WARN level threshold exceeded count- Parameters:
count
- the count
-
updatePauseTimeWithGc
Update the pause time histogram where GC activity was detected.- Parameters:
t
- time it took
-
updatePauseTimeWithoutGc
Update the pause time histogram where GC activity was not detected.- Parameters:
t
- time it took
-