java.lang.Object
net.i2p.router.web.helpers.ProfileOrganizerRenderer.FloodfillStats
Enclosing class:
ProfileOrganizerRenderer

private static class ProfileOrganizerRenderer.FloodfillStatsextends Object
Aggregates over the floodfill-capable peer set; every field is meant to describe the observed floodfill peers, fed to the health rings above the table. All counts are gathered in one pass over order, and a row is only counted as "shown" when it would actually be emitted by ProfileOrganizerRenderer.renderFloodfill(Writer, Set) (has DB history, floodfill-capable, reachable, unbanlisted, heard from).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) int
    Active bans of floodfill-capable peers (banFF classification).
    (package private) int
    Listed peers contributing to failPctSum.
    (package private) long
    Sum of row.hourFailPct over listed peers.
    (package private) int
    Floodfill-capable peers known to the peer manager (matches sidebar).
    (package private) int
    Peers passing the table's emit filter.
    (package private) long
    Aggregated lifetime lookups good and bad.
    (package private) long
    Aggregated lifetime lookups good and bad.
    (package private) int
    Listed peers heard from within the last hour.
    (package private) int
    Listed peers contributing to respMsSum.
    (package private) long
    Sum of 1h response times (ms) over listed peers with non-negative avg.
    (package private) int
    Listed peers whose most recent store was good vs bad.
    (package private) int
    Listed peers whose most recent store was good vs bad.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Aggregates with every counter at zero, filled by one pass over the peers.
  • Method Summary

    Methods inherited from class Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • known

      int known
      Floodfill-capable peers known to the peer manager (matches sidebar).
    • listed

      int listed
      Peers passing the table's emit filter.
    • recentlyHeard

      int recentlyHeard
      Listed peers heard from within the last hour.
    • banned

      int banned
      Active bans of floodfill-capable peers (banFF classification).
    • failPctSum

      long failPctSum
      Sum of row.hourFailPct over listed peers.
    • failCount

      int failCount
      Listed peers contributing to failPctSum.
    • respMsSum

      long respMsSum
      Sum of 1h response times (ms) over listed peers with non-negative avg.
    • respCount

      int respCount
      Listed peers contributing to respMsSum.
    • lookupsGood

      long lookupsGood
      Aggregated lifetime lookups good and bad.
    • lookupsBad

      long lookupsBad
      Aggregated lifetime lookups good and bad.
    • storeGood

      int storeGood
      Listed peers whose most recent store was good vs bad.
    • storeBad

      int storeBad
      Listed peers whose most recent store was good vs bad.
  • Constructor Details

    • FloodfillStats

      private FloodfillStats()
      Aggregates with every counter at zero, filled by one pass over the peers.