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 period
      eventCount - how many events occurred
      totalEventTime - how long the events were running for
      period - how long this period is