package net.i2p.stat

Statistics collection framework used throughout the router for adaptive operation, monitoring and debugging.

RateStat and Rate average rates over 5-minute, 60-minute and lifetime periods, Frequency counts events, StatManager is the central registry, and selected statistics persist across restarts.


  • Class
    Description
    Manage the calculation of a moving average event frequency over a certain period.
    Coordinates an event frequency over various periods.
    Output rate data.
    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.
    One coalesced sample, retained so a healed listener can backfill missed steps.
    Storage space for computations of various averages.
    Centralized rate period constants for memory-optimized statistics collection.
    Delivers coalesced rate samples to RateSummaryListeners off the coalesce thread.
    One coalesced sample, detached from the Rate that produced it.
    Coordinates a moving rate over various periods.
    Receive the state of the rate when its coalesced.
    Coordinate the management of various frequencies and rates within I2P components, both allowing central update and retrieval, as well as distributed creation and use.