public static class ResultService.EventSummary extends Object
Constructor and Description |
---|
ResultService.EventSummary(String name) |
Modifier and Type | Method and Description |
---|---|
void |
addSample(EventRecord eventRecord)
Add another sample to the event
|
String |
getName() |
org.apache.commons.math3.stat.descriptive.SummaryStatistics |
getStats(boolean success)
Get the statistics for the event
|
double |
getSuccessPercentage() |
long |
getTotalResults()
Get the total number of results (success and failure)
|
public ResultService.EventSummary(String name)
public void addSample(EventRecord eventRecord)
public String getName()
public org.apache.commons.math3.stat.descriptive.SummaryStatistics getStats(boolean success)
success
- true to return statistics for successs or
false to return failure statisticspublic long getTotalResults()
public double getSuccessPercentage()
Nan
if there were no resultsCopyright © 2014. All rights reserved.