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 TypeMethodDescriptionvoidAdd an event to the collector It is quite possible that this is called from multiple threads.doublegetStat()Get the statisticbooleanHave any events been added? If not, we inherit the previous value.voidsetBinParams(int intervalSecs, long binNum)
-
Method Details
-
setBinParams
void setBinParams(int intervalSecs, long binNum) -
addEvent
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
-