Class StatisticsManager

java.lang.Object
net.i2p.router.StatisticsManager

public class StatisticsManager extends Object
Publishes some statistics about the router in the netDB.
  • Field Details

  • Constructor Details

    • StatisticsManager

      public StatisticsManager(RouterContext context)
  • Method Details

    • publishStatistics

      public Properties publishStatistics()
      Retrieve a snapshot of the statistics that should be published. This includes all standard options (as of 0.9.24, network ID and caps)
    • publishStatistics

      public Properties publishStatistics(Hash h)
      Retrieve a snapshot of the statistics that should be published. This includes all standard options (as of 0.9.24, network ID and caps)
      Parameters:
      h - current router hash, non-null
      Since:
      0.9.24
    • renderStatusHTML

      public void renderStatusHTML(Writer out)