## Uses of Class
net.i2p.stat.RateStat

- Packages that use RateStat
  Package | Description
  --- | ---
  net.i2p.router.peermanager | Peer management, profiling, and capacity calculation for I2P network optimization.
  net.i2p.stat | Statistical collection and analysis framework used throughout the I2P router for adaptive operation, performance monitoring, and debugging.

- - ### Uses of RateStat in net.i2p.router.peermanager

    Methods in net.i2p.router.peermanager that return RateStat
    Modifier and Type | Method and Description
    --- | ---
    `RateStat` | PeerProfile.`getDbIntroduction()` how many new peers we get from dbSearchReplyMessages or dbStore messages, calculated over a 1 hour, 1 day, and 1 week period Warning - may return null if !getIsExpandedDB()
    `RateStat` | PeerProfile.`getDbResponseTime()` how long it takes to get a db response from the peer (in milliseconds), calculated over a 1 minute, 1 hour, and 1 day period Warning - may return null if !getIsExpandedDB()
    `RateStat` | DBHistory.`getFailedLookupRate()` how often does the peer fail to reply to a lookup request, broken into 1 hour and 1 day periods
    `RateStat` | TunnelHistory.`getFailedRate()`
    `RateStat` | DBHistory.`getInvalidReplyRate()` not sure how much this is used, to be investigated
    `RateStat` | PeerProfile.`getPeerTestResponseTime()` how long it takes for a peer to respond to a direct test (ms)
    `RateStat` | TunnelHistory.`getRejectionRate()`
    `RateStat` | PeerProfile.`getTunnelCreateResponseTime()` how long it takes to get a tunnel create response from the peer (in milliseconds), calculated over a 1 minute, 1 hour, and 1 day period Warning - may return null if !getIsExpanded()
    `RateStat` | PeerProfile.`getTunnelTestResponseTime()` Deprecated. unused

  - ### Uses of RateStat in net.i2p.stat

    Methods in net.i2p.stat that return RateStat
    Modifier and Type | Method and Description
    --- | ---
    `RateStat` | StatManager.`getRate(String name)` Misnamed, as it returns a RateStat, not a Rate.
    `RateStat` | Rate.`getRateStat()`

    Methods in net.i2p.stat with parameters of type RateStat
    Modifier and Type | Method and Description
    --- | ---
    `(package private) boolean` | RateStat.`nameGroupDescEquals(RateStat rs)`
    `void` | Rate.`setRateStat(RateStat rs)`