Package org.apache.hadoop.hbase
Class ResourceCheckerJUnitListener.ThreadResourceAnalyzer
java.lang.Object
org.apache.hadoop.hbase.ResourceChecker.ResourceAnalyzer
org.apache.hadoop.hbase.ResourceCheckerJUnitListener.ThreadResourceAnalyzer
- Enclosing class:
- ResourceCheckerJUnitListener
static class ResourceCheckerJUnitListener.ThreadResourceAnalyzer
extends ResourceChecker.ResourceAnalyzer
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getMax()
Maximum we set for the resource.int
getVal
(ResourceChecker.Phase phase) The value for the resource.Methods inherited from class org.apache.hadoop.hbase.ResourceChecker.ResourceAnalyzer
getMin, getName
-
Field Details
-
initialThreadNames
-
stringsToLog
-
-
Constructor Details
-
ThreadResourceAnalyzer
-
-
Method Details
-
getVal
Description copied from class:ResourceChecker.ResourceAnalyzer
The value for the resource.- Specified by:
getVal
in classResourceChecker.ResourceAnalyzer
- Parameters:
phase
- theResourceChecker.Phase
to get the value for
-
getMax
Description copied from class:ResourceChecker.ResourceAnalyzer
Maximum we set for the resource. Will get a warning in logs if we go over this limit.- Overrides:
getMax
in classResourceChecker.ResourceAnalyzer
-
getStringsToLog
- Overrides:
getStringsToLog
in classResourceChecker.ResourceAnalyzer
-