Package net.i2p.stat
Interface RateSummaryListener
- All Known Implementing Classes:
SummaryListener
public interface RateSummaryListener
Receive the state of the rate when its coallesced
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-