Interface SummaryStatsCollector
-
- All Known Subinterfaces:
SummaryStatsCollectorAdditionalColumns
,SummaryStatsVectorCollector
public interface SummaryStatsCollector
The SummaryStatsPostProcessor uses instances of this interface to compute statistical summaries- Author:
- mshankar
-
-
Method Summary
Modifier and Type Method Description void
addEvent(Event e)
Add an event to the collector It is quite possible that this is called from multiple threads.double
getStat()
Get the statisticboolean
haveEventsBeenAdded()
Have any events been added? If not, we inherit the previous value.void
setBinParams(int intervalSecs, long binNum)
-
-
-
Method Detail
-
setBinParams
void setBinParams(int intervalSecs, long binNum)
-
addEvent
void addEvent(Event e)
Add an event to the collector It is quite possible that this is called from multiple threads.- Parameters:
e
- Event
-
haveEventsBeenAdded
boolean haveEventsBeenAdded()
Have any events been added? If not, we inherit the previous value.- Returns:
- boolean True or False
-
getStat
double getStat()
Get the statistic- Returns:
- the statistic
-
-