public class ResourceChecker extends Object
Constructor and Description |
---|
ResourceChecker(String tagLine)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addResourceAnalyzer(org.apache.hadoop.hbase.ResourceChecker.ResourceAnalyzer ra)
Adds a resource analyzer to the resources checked.
|
void |
checkInit() |
void |
end()
To be called as the end of a test method:
- measure the resources
- check vs.
|
void |
start()
To be called as the beginning of a test method:
- measure the resources
- check vs.
|
public ResourceChecker(String tagLine)
tagLine
- - the tagLine is added to the logs. Must be be null.public void checkInit()
public void start()
public void end()
public void addResourceAnalyzer(org.apache.hadoop.hbase.ResourceChecker.ResourceAnalyzer ra)