net.i2p.stat

## Interface RateSummaryListener

- All Known Implementing Classes:
    GraphListener

      public interface RateSummaryListener

  Receive the state of the rate when its coalesced

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(double totalValue, long eventCount, double totalEventTime, long period)` Called to add rate statistics for a period.

- - ### Method Detail

    - #### add

          void add(double totalValue,
                   long eventCount,
                   double totalEventTime,
                   long period)

      Called to add rate statistics for a 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