Class UserMetric
-
- All Implemented Interfaces:
public class UserMetric
User metric
- Since:
2.13
-
-
Constructor Summary
Constructors Constructor Description UserMetric()
-
Method Summary
Modifier and Type Method Description synchronized void
add(SampleResult result)
Add a SampleResult to be used in the statistics synchronized void
resetForTimeInterval()
Reset metric except for percentile related data int
getMaxActiveThreads()
int
getMeanActiveThreads()
int
getMinActiveThreads()
int
getFinishedThreads()
int
getStartedThreads()
void
clear()
Clear stats -
-
Method Detail
-
add
synchronized void add(SampleResult result)
Add a SampleResult to be used in the statistics
- Parameters:
result
- SampleResult not used
-
resetForTimeInterval
synchronized void resetForTimeInterval()
Reset metric except for percentile related data
-
getMaxActiveThreads
int getMaxActiveThreads()
- Returns:
the max number of active threads for this test run using a sliding window of SLIDING_WINDOW_SIZE
-
getMeanActiveThreads
int getMeanActiveThreads()
- Returns:
the mean number of active threads for this test run using a sliding window of SLIDING_WINDOW_SIZE
-
getMinActiveThreads
int getMinActiveThreads()
- Returns:
the min number of active threads for this test run using a sliding window of SLIDING_WINDOW_SIZE
-
getFinishedThreads
int getFinishedThreads()
- Returns:
finished threads
-
getStartedThreads
int getStartedThreads()
- Returns:
started threads
-
clear
void clear()
Clear stats
-
-
-
-