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
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidincInfoThresholdExceeded(int count) Increment the INFO level threshold exceeded countvoidincWarnThresholdExceeded(int count) Increment the WARN level threshold exceeded countvoidupdatePauseTimeWithGc(long t) Update the pause time histogram where GC activity was detected.voidupdatePauseTimeWithoutGc(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
-