Package net.i2p.stat
Interface RateSummaryListener
- All Known Implementing Classes:
SummaryListener
public interface RateSummaryListener
Receive the state of the rate when its coalesced
-
Method Summary
Modifier and Type Method Description void
add(double totalValue, long eventCount, double totalEventTime, long period)
-
Method Details
-
add
void add(double totalValue, long eventCount, double totalEventTime, long period)- Parameters:
totalValue
- sum of all event values in the most recent periodeventCount
- how many events occurredtotalEventTime
- how long the events were running forperiod
- how long this period is
-