Package org.apache.hadoop.hbase
Class ResourceCheckerJUnitListener.OpenFileDescriptorResourceAnalyzer
java.lang.Object
org.apache.hadoop.hbase.ResourceChecker.ResourceAnalyzer
org.apache.hadoop.hbase.ResourceCheckerJUnitListener.OpenFileDescriptorResourceAnalyzer
- Enclosing class:
- ResourceCheckerJUnitListener
-
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, getStringsToLog
-
Constructor Details
-
OpenFileDescriptorResourceAnalyzer
-
-
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
-