Package net.i2p.stat

These classes define the statistics package used extensively throughout the I2P router - both for adaptive operation of the router and for debugging.

  • Interface Summary 
    Interface Description
    RateSummaryListener
    Receive the state of the rate when its coalesced
    StatLog
    Component to be notified when a particular event occurs
  • Class Summary 
    Class Description
    BufferedStatLog
    Note - if no filter is defined in stat.logFilters at startup, this class will not be instantiated - see StatManager.
    Frequency
    Manage the calculation of a moving average event frequency over a certain period.
    FrequencyStat
    coordinate an event frequency over various periods
    PersistenceHelper
    Output rate data.
    Rate
    Simple rate calculator for periodically sampled data points - determining an average value over a period, the number of events in that period, the maximum number of events (using the interval between events), and lifetime data.
    RateAverages
    Storage space for computations of various averages.
    RateStat
    coordinate a moving rate over various periods
    StatManager
    Coordinate the management of various frequencies and rates within I2P components, both allowing central update and retrieval, as well as distributed creation and use.