static class ResourceCheckerJUnitListener.ThreadResourceAnalyzer extends ResourceChecker.ResourceAnalyzer
Modifier and Type | Field and Description |
---|---|
private static Set<String> |
initialThreadNames |
private static List<String> |
stringsToLog |
Constructor and Description |
---|
ThreadResourceAnalyzer() |
Modifier and Type | Method and Description |
---|---|
int |
getMax()
Maximum we set for the resource.
|
List<String> |
getStringsToLog() |
int |
getVal(ResourceChecker.Phase phase)
The value for the resource.
|
getMin, getName
private static Set<String> initialThreadNames
private static List<String> stringsToLog
ThreadResourceAnalyzer()
public int getVal(ResourceChecker.Phase phase)
ResourceChecker.ResourceAnalyzer
getVal
in class ResourceChecker.ResourceAnalyzer
phase
- the ResourceChecker.Phase
to get the value forpublic int getMax()
ResourceChecker.ResourceAnalyzer
getMax
in class ResourceChecker.ResourceAnalyzer
public List<String> getStringsToLog()
getStringsToLog
in class ResourceChecker.ResourceAnalyzer
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.